I have been involved in a debate about how browsers handle errors and I am hoping someone can offer some enlightenment. Here's the deal:
The browser sniffs the DOCTYPE from the web page and then begins rendering in a mode based on the DOCTYPE as cross-referenced to the browser version.
(This is mutually accepted to this point I assume as there are plenty of tables stating that mode will be chosen based on DOCTYPE, browser, and browser version.)
The disputed claim adds:
The browser encounters an error during the render and switches to quirks mode at that point. (The claimant hasn't made it clear if the browser continues to render the rest of the document in quirks mode or if it switches to quirks mode for only the non-conforming code and then switches back.)
This implies necessarily that the browser does error checking during the render else it would not know an error.
There is zero mention at W3C.org, mozilla.org, msdn.com, or any other place I can find, that 1) error checking happens during the render or 2) that the browser will switch render modes after it starts rendering.
Can anyone answer this or point me to any supporting documents (for either side)? Thanks, phlembol
The browser sniffs the DOCTYPE from the web page and then begins rendering in a mode based on the DOCTYPE as cross-referenced to the browser version.
(This is mutually accepted to this point I assume as there are plenty of tables stating that mode will be chosen based on DOCTYPE, browser, and browser version.)
The disputed claim adds:
The browser encounters an error during the render and switches to quirks mode at that point. (The claimant hasn't made it clear if the browser continues to render the rest of the document in quirks mode or if it switches to quirks mode for only the non-conforming code and then switches back.)
This implies necessarily that the browser does error checking during the render else it would not know an error.
There is zero mention at W3C.org, mozilla.org, msdn.com, or any other place I can find, that 1) error checking happens during the render or 2) that the browser will switch render modes after it starts rendering.
Can anyone answer this or point me to any supporting documents (for either side)? Thanks, phlembol