Search notes:

document.compatMode

The value of the property document.compatMode is dependent on the rendering mode of a web browser's layout engine. It is set to one of the following two values:
The following document reports compatMode to be CSS1Compat:
<!doctype html>

<p id='out'></p>
<a href='quirks.html'>Quirks mode</a>
<script> document.getElementById('out').innerText = 'document.compatMode = ' + document.compatMode; </script>
Github repository Browser-Object-Model, path: /document/compatMode/no-quirks.html
This document reports compatMode to be BackCompat:
<p id='out'></p>
<a href='no-quirks.html'>No-quirks mode</a>
<script> document.getElementById('out').innerText = 'document.compatMode = ' + document.compatMode; </script>
Github repository Browser-Object-Model, path: /document/compatMode/quirks.html

See also

The document object

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/developm...', 1758199934, '216.73.216.150', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/web/browser/object-model/document/compatMode(54): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78