[html5] r8261 - [giow] (3) Match reality better in terms of selector case-sensitivity for attrib [...]
whatwg at whatwg.org
whatwg at whatwg.org
Thu Nov 7 14:41:54 PST 2013
Author: ianh
Date: 2013-11-07 14:41:52 -0800 (Thu, 07 Nov 2013)
New Revision: 8261
Modified:
complete.html
index
source
Log:
[giow] (3) Match reality better in terms of selector case-sensitivity for attributes as well
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=23742
Affected topics: CSS, HTML
Modified: complete.html
===================================================================
--- complete.html 2013-11-06 22:01:25 UTC (rev 8260)
+++ complete.html 2013-11-07 22:41:52 UTC (rev 8261)
@@ -298,7 +298,7 @@
<header class=head id=head><p><a href=http://www.whatwg.org/ class=logo><img width=101 src=/images/logo alt=WHATWG height=101></a></p>
<hgroup><h1 class=allcaps>HTML</h1>
- <h2 class="no-num no-toc">Living Standard — Last Updated 6 November 2013</h2>
+ <h2 class="no-num no-toc">Living Standard — Last Updated 7 November 2013</h2>
</hgroup><dl><dt><strong>Web developer edition:</strong></dt>
<dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
<dt>Multiple-page version:</dt>
@@ -59300,17 +59300,19 @@
in documents that are in <a href=#quirks-mode>quirks mode</a> must be treated as <a href=#ascii-case-insensitive>ASCII
case-insensitive</a> for the purposes of selector matching.</p>
-<!--CLEANUP-->
- <p>Attribute <em>names</em> of <a href=#html-elements>HTML elements</a> in <a href=#html-documents>HTML
- documents</a> must be treated as <a href=#ascii-case-insensitive>ASCII case-insensitive</a> for the purposes of
- selector matching.</p>
-
<p>When comparing a CSS element type selector to the names of <a href=#html-elements>HTML elements</a> in
<a href=#html-documents>HTML documents</a>, the CSS element type selector must first be <a href=#converted-to-ascii-lowercase>converted to ASCII
lowercase</a>. The same selector when compared to other elements must be compared according to
its original case. In both cases, the comparison is <a href=#case-sensitive>case-sensitive</a>.</p>
<!-- http://software.hixie.ch/utilities/js/live-dom-viewer/?saved=2623 -->
+ <p>When comparing the name part of a CSS attribute selector to the names of namespace-less
+ attributes on <a href=#html-elements>HTML elements</a> in <a href=#html-documents>HTML documents</a>, the name part of the CSS
+ attribute selector must first be <a href=#converted-to-ascii-lowercase>converted to ASCII lowercase</a>. The same selector when
+ compared to other attributes must be compared according to its original case. In both cases, the
+ comparison is <a href=#case-sensitive>case-sensitive</a>.</p>
+ <!-- http://software.hixie.ch/utilities/js/live-dom-viewer/?saved=2624 -->
+
<p>Everything else (attribute values on <a href=#html-elements>HTML elements</a>, IDs and classes in
<a href=#no-quirks-mode>no-quirks mode</a> and <a href=#limited-quirks-mode>limited-quirks mode</a>, and element names, attribute
names, and attribute values in <a href=#xml-documents>XML documents</a>) must be treated as
Modified: index
===================================================================
--- index 2013-11-06 22:01:25 UTC (rev 8260)
+++ index 2013-11-07 22:41:52 UTC (rev 8261)
@@ -298,7 +298,7 @@
<header class=head id=head><p><a href=http://www.whatwg.org/ class=logo><img width=101 src=/images/logo alt=WHATWG height=101></a></p>
<hgroup><h1 class=allcaps>HTML</h1>
- <h2 class="no-num no-toc">Living Standard — Last Updated 6 November 2013</h2>
+ <h2 class="no-num no-toc">Living Standard — Last Updated 7 November 2013</h2>
</hgroup><dl><dt><strong>Web developer edition:</strong></dt>
<dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
<dt>Multiple-page version:</dt>
@@ -59300,17 +59300,19 @@
in documents that are in <a href=#quirks-mode>quirks mode</a> must be treated as <a href=#ascii-case-insensitive>ASCII
case-insensitive</a> for the purposes of selector matching.</p>
-<!--CLEANUP-->
- <p>Attribute <em>names</em> of <a href=#html-elements>HTML elements</a> in <a href=#html-documents>HTML
- documents</a> must be treated as <a href=#ascii-case-insensitive>ASCII case-insensitive</a> for the purposes of
- selector matching.</p>
-
<p>When comparing a CSS element type selector to the names of <a href=#html-elements>HTML elements</a> in
<a href=#html-documents>HTML documents</a>, the CSS element type selector must first be <a href=#converted-to-ascii-lowercase>converted to ASCII
lowercase</a>. The same selector when compared to other elements must be compared according to
its original case. In both cases, the comparison is <a href=#case-sensitive>case-sensitive</a>.</p>
<!-- http://software.hixie.ch/utilities/js/live-dom-viewer/?saved=2623 -->
+ <p>When comparing the name part of a CSS attribute selector to the names of namespace-less
+ attributes on <a href=#html-elements>HTML elements</a> in <a href=#html-documents>HTML documents</a>, the name part of the CSS
+ attribute selector must first be <a href=#converted-to-ascii-lowercase>converted to ASCII lowercase</a>. The same selector when
+ compared to other attributes must be compared according to its original case. In both cases, the
+ comparison is <a href=#case-sensitive>case-sensitive</a>.</p>
+ <!-- http://software.hixie.ch/utilities/js/live-dom-viewer/?saved=2624 -->
+
<p>Everything else (attribute values on <a href=#html-elements>HTML elements</a>, IDs and classes in
<a href=#no-quirks-mode>no-quirks mode</a> and <a href=#limited-quirks-mode>limited-quirks mode</a>, and element names, attribute
names, and attribute values in <a href=#xml-documents>XML documents</a>) must be treated as
Modified: source
===================================================================
--- source 2013-11-06 22:01:25 UTC (rev 8260)
+++ source 2013-11-07 22:41:52 UTC (rev 8261)
@@ -65764,17 +65764,19 @@
in documents that are in <span>quirks mode</span> must be treated as <span>ASCII
case-insensitive</span> for the purposes of selector matching.</p>
-<!--CLEANUP-->
- <p>Attribute <em>names</em> of <span>HTML elements</span> in <span>HTML
- documents</span> must be treated as <span>ASCII case-insensitive</span> for the purposes of
- selector matching.</p>
-
<p>When comparing a CSS element type selector to the names of <span>HTML elements</span> in
<span>HTML documents</span>, the CSS element type selector must first be <span>converted to ASCII
lowercase</span>. The same selector when compared to other elements must be compared according to
its original case. In both cases, the comparison is <span>case-sensitive</span>.</p>
<!-- http://software.hixie.ch/utilities/js/live-dom-viewer/?saved=2623 -->
+ <p>When comparing the name part of a CSS attribute selector to the names of namespace-less
+ attributes on <span>HTML elements</span> in <span>HTML documents</span>, the name part of the CSS
+ attribute selector 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>
+ <!-- http://software.hixie.ch/utilities/js/live-dom-viewer/?saved=2624 -->
+
<p>Everything else (attribute values on <span>HTML elements</span>, IDs and classes in
<span>no-quirks mode</span> and <span>limited-quirks mode</span>, and element names, attribute
names, and attribute values in <span>XML documents</span>) must be treated as
More information about the Commit-Watchers
mailing list