This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/rendering.html Multipage: http://www.whatwg.org/C#introduction-13 Complete: http://www.whatwg.org/c#introduction-13 Comment: Need to define case-sensitivity of CSS attribute selector value matching Posted from: 173.48.81.109 by bzbarsky@mit.edu User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:21.0) Gecko/20130108 Firefox/21.0
In particular, CSS says that whether [foo=bar] matches <div foo="BAR"> is defined by the document language. Note that UAs may not be all that consistent here. What Gecko does is case-sensitive matching except for a whitelist of attributes whose values are explicitly defined as case-insensitive in HTML4, I believe. See http://hg.mozilla.org/mozilla-central/file/f60b87eed1ac/layout/style/nsCSSParser.cpp#l3338
Is this insufficient?: http://whatwg.org/html/#case-sensitivity
Hmm. I totally failed to find that for some reason, even after searching the single-page version of the spec for "Selector"....
If there's anything I can do to make that more discoverable, please don't hesitate to file a new bug (or reopen this one).