Add HTML5 case-insensitive attributes to CSS parser

RESOLVED WORKSFORME

Status

()

RESOLVED WORKSFORME
10 years ago
7 years ago

People

(Reporter: hsivonen, Unassigned)

Tracking

({html5})

Trunk
html5
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Based on those URLs, it seems like nobody has yet compiled the list of attributes.  Is that correct?
(Reporter)

Comment 2

10 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.
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

7 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.
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
Last Resolved: 7 years ago
Resolution: --- → WORKSFORME
Version: Other Branch → Trunk

Comment 6

7 years ago
I filed 672171.

Comment 7

7 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.