W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > February 2010

[Bug 9071] New: Handling of "[" in between-doctype-public-and-system-identifiers-state may not be ideal

From: <bugzilla@wiggum.w3.org>
Date: Thu, 18 Feb 2010 16:42:17 +0000
To: public-html-bugzilla@w3.org
Message-ID: <bug-9071-2486@http.www.w3.org/Bugs/Public/>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=9071

           Summary: Handling of "[" in between-doctype-public-and-system-
                    identifiers-state may not be ideal
           Product: HTML WG
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML5 spec bugs
        AssignedTo: dave.null@w3.org
        ReportedBy: excors@gmail.com
         QAContact: public-html-bugzilla@w3.org
                CC: ian@hixie.ch, mike@w3.org, public-html@w3.org


Currently "[" in between-doctype-public-and-system-identifiers-state is handled
like any other unrecognised character, and forces quirks mode.

Firefox appears to have special-casing for "[" here. Compare (in Firefox 3.6
with html5.enable off):

http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C!doctype%20html%20public%20%22%22%20[!%22%C2%A3%24%25^%26*%28%29{}[]%3E%0A
- "CSS1Compat"

http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C!doctype%20html%20public%20%22%22%20!%22%C2%A3%24%25^%26*%28%29{}[]%3E%0A
- "BackCompat"

HTML5's behaviour breaks the positioning of the map in
http://www.freemanforman.co.uk/content/001_Area_Search/

But it also fixes the menu spacing and skip-link underlining in
http://symptomresearch.nih.gov/grantopportunities.htm

(These are the only two sites I found, out of half a million pages.)

Perhaps more data is needed to determine which behaviour results in less
breakage.


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Thursday, 18 February 2010 16:42:18 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:01:11 UTC