Closed
Bug 484190
Opened 16 years ago
Closed 14 years ago
Add HTML5 case-insensitive attributes to CSS parser
Categories
(Core :: CSS Parsing and Computation, defect)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: hsivonen, Unassigned)
Details
(Keywords: html5)
The CSS parser should know about HTML5 attributes that need to be case-insensitive.
http://mxr.mozilla.org/mozilla-central/source/layout/style/nsCSSParser.cpp#2916
http://www.whatwg.org/specs/web-apps/current-work/#interaction-with-css
http://lists.w3.org/Archives/Public/public-html/2008Jan/0043.html
Based on those URLs, it seems like nobody has yet compiled the list of attributes. Is that correct?
Reporter | ||
Comment 2•16 years ago
|
||
It seems that no one has yet compiled a list. The list should be compilable from the HTML5 spec, but perhaps it's best to wait for Hixie to do it.
Comment 3•16 years ago
|
||
Hixie has compiled the list[1] and it matches Mozilla's[2], so AFAICT nothing has to be changed. (Apart from the comment, possibly.)
[1] http://www.whatwg.org/specs/web-apps/current-work/#selectors
[2] http://mxr.mozilla.org/mozilla-central/source/layout/style/nsCSSParser.cpp#2916
Comment 4•14 years ago
|
||
Note that HTML currently requires <ol type> to be treated case-sensitively, but no browser does that.
Is there any chance we can just remove this list and treat all attributes as case-sensitive regardless of markup language? I can get it done in Opera.
Comment 5•14 years ago
|
||
All browsers distinguish ol type=i and ol type=I, afaik. Open a new bug (and a spec bug) to make them all case-sensitive, maybe?
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → WORKSFORME
Version: Other Branch → Trunk
Comment 6•14 years ago
|
||
I filed 672171.
Comment 7•14 years ago
|
||
I meant I filed bug 672171, sorry.
You need to log in
before you can comment on or make changes to this bug.
Description
•