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)

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: hsivonen, Unassigned)

Details

(Keywords: html5)

Based on those URLs, it seems like nobody has yet compiled the list of attributes. Is that correct?
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.
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
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.
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
I filed 672171.
I meant I filed bug 672171, sorry.
You need to log in before you can comment on or make changes to this bug.