[Webkit-unassigned] [Bug 15470] New: Make attr selectors case-sensitive for case-sensitive HTML attrs

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 11 17:22:13 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=15470

           Summary: Make attr selectors case-sensitive for case-sensitive
                    HTML attrs
           Product: WebKit
           Version: 522+ (nightly)
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: eric at webkit.org


Make attr selectors case-sensitive for case-sensitive HTML attrs

currently we fail 18 tests in this suite:
http://www.css3.info/selectors-test/

because of this "bug".  The justification is that the CSS2 spec says that case
sensitivity for values (other than element names) is "language dependent":

http://www.w3.org/TR/css3-selectors/#attribute-selectors

And HTML has certain attributes which are case sensitive and others which are
not:
http://www.w3.org/TR/REC-html40/types.html#h-6.1

Strangely enough, both Opera and FireFox pass different subsets of these 18
tests.  They seem to be related to implementation details in both browsers. 
Given that neither of them fail all 18 like we do (but rather seem to attempt
to support this strangeness), I think this patch is correct.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list