[Webkit-unassigned] [Bug 19573] REGRESSION: Doctype is not parsed unless it's at the very beginning of the document (font-size didn't inherit from body to table elements)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 17 00:09:10 PDT 2008


------- Comment #10 from ap at webkit.org  2008-06-17 00:09 PDT -------
(In reply to comment #9)
> But are there any way to know that the browser is working in
> quirks mode?

There is always alert(document.compatMode), although it is admittedly only
helpful when you already suspect something like that.

> But the BOM one is not, because it's an invisible-no-breaking-space character,
> so you need to use a hexeditor to see them. 

This is very true. In some similar cases, this can even lead to security bugs,
so it is particularly important to handle invisible characters to the letter of
the spec, so that all browsers and security filters agree on the same behavior.

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the webkit-unassigned mailing list