Skip to content

Commit

Permalink
Selectors: attr name in any NS on HTML elements are case-insensitive
Browse files Browse the repository at this point in the history
Fixes #2694
  • Loading branch information
SimonSapin authored and zcorpan committed Jun 5, 2017
1 parent eb5d1cc commit 822a911
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source
Original file line number Diff line number Diff line change
Expand Up @@ -67949,7 +67949,7 @@ contradict people?
<!-- https://software.hixie.ch/utilities/js/live-dom-viewer/?saved=2623 -->

<p>When comparing the name part of a CSS <span>attribute selector</span> to the names of
namespace-less attributes on <span>HTML elements</span> in <span>HTML documents</span>, the name
attributes on <span>HTML elements</span> in <span>HTML documents</span>, the name
part of the CSS <span>attribute selector</span> must first be <span>converted to ASCII
lowercase</span>. The same selector when compared to other attributes must be compared according
to its original case. In both cases, the comparison is <span>case-sensitive</span>.</p>
Expand Down

2 comments on commit 822a911

@triple-underscore
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs to also update the note in the previous section ( Case-sensitivity of the CSS 'attr()' function ), with regard to “namespace-less” ?

This is the same as comparing the name part of a CSS attribute selector, specified in the next section.

@zcorpan
Copy link
Member

@zcorpan zcorpan commented on 822a911 Jun 5, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.