Search notes:

Browser: Layout engine

Rendering mode

Most web browsers's layout engines operate in one of three rendering modes:
Apparently, in more recent times, it makes no sense anymore to distinguish between Almost standard and standard mode.
The mode that a document is rendered in is controlled by the document's DOCTYPE declaration. The DOCTYPE declaration <!DOCTYPE html> specifies that a document follows no-quirks mode.
In JavaScript, the mode currently in effect can be determined with the property document.compatMode.

Root element

In no-quirks mode, the root element is document.documentElement (i. e. the HTML element).
In quirks mode, the root element is document.body (i. e. the BODY element) (update 2024-04-20: this assertion seems no longer true (if it ever was): in firefox, document.documentElement returned the HTML element even in quirks mode).

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...', 1745016100, '18.191.186.124', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/web/browser/layout-engine/index(54): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78