compatMode
Description
The compatMode of Document for JS returns the string "BackCompat" if document’s mode is "quirks"; otherwise "CSS1Compat".
Syntax
document.compatMode
The compatMode of Document for JS returns the string "BackCompat" if document’s mode is "quirks"; otherwise "CSS1Compat".
document.compatMode