Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upAttribute selectors should compare names according to spec #3322
Labels
Comments
|
I believe we’re doing this right already. For test cases: the HTML parser normalizes attribute names to ASCII lower case, so a |
bors-servo
added a commit
that referenced
this issue
May 18, 2017
Shrink selectors::Component, implement attr selector (in)case-sensitivity * https://bugzilla.mozilla.org/show_bug.cgi?id=1364148 * https://bugzilla.mozilla.org/show_bug.cgi?id=1364162 * https://bugzilla.mozilla.org/show_bug.cgi?id=1363531 * Fixes #3322 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/16915) <!-- Reviewable:end -->
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The HTML spec states
In particular, in a HTML document,
[FOO]shouldfooattributeFOOattributefooattributeFOOattributefooattributeFOOattributefooattributeFOOattribute(and we'll want tests for all those).
cc @SimonSapin