[html5] r8764 - [e] (0) Try to clarify case matching rules for selectors Fixing https://www.w3.o [...]

whatwg at whatwg.org whatwg at whatwg.org
Fri Sep 12 10:48:44 PDT 2014


Author: ianh
Date: 2014-09-12 10:48:40 -0700 (Fri, 12 Sep 2014)
New Revision: 8764

Modified:
   complete.html
   index
   source
Log:
[e] (0) Try to clarify case matching rules for selectors
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=26560
Affected topics: CSS, HTML

Modified: complete.html
===================================================================
--- complete.html	2014-09-12 17:39:34 UTC (rev 8763)
+++ complete.html	2014-09-12 17:48:40 UTC (rev 8764)
@@ -50767,12 +50767,19 @@
   comparison is <a href=#case-sensitive id=case-sensitivity:case-sensitive-2>case-sensitive</a>.</p>
   
 
-  <p>Everything else (attribute values on <a href=#html-elements id=case-sensitivity:html-elements-3>HTML elements</a>, IDs and classes in
-  <a href=#no-quirks-mode id=case-sensitivity:no-quirks-mode>no-quirks mode</a> and <a href=#limited-quirks-mode id=case-sensitivity:limited-quirks-mode>limited-quirks mode</a>, and element names, attribute
-  names, and attribute values in <a href=#xml-documents id=case-sensitivity:xml-documents>XML documents</a>) must be treated as
-  <a href=#case-sensitive id=case-sensitivity:case-sensitive-3>case-sensitive</a> for the purposes of selector matching.</p>
+  <p>Everything else must be treated as entirely <a href=#case-sensitive id=case-sensitivity:case-sensitive-3>case-sensitive</a> for the purposes of
+  selector matching. This includes:</p>
 
+  <ul class=brief><li> IDs and classes in <a href=#no-quirks-mode id=case-sensitivity:no-quirks-mode>no-quirks mode</a> and <a href=#limited-quirks-mode id=case-sensitivity:limited-quirks-mode>limited-quirks mode</a>
+   <li> the names of elements not in the <a href=#html-namespace-2 id=case-sensitivity:html-namespace-2>HTML namespace</a>
+   <li> the names of <a href=#html-elements id=case-sensitivity:html-elements-3>HTML elements</a> in <a href=#xml-documents id=case-sensitivity:xml-documents>XML documents</a>
+   <li> the names of attributes of elements not in the <a href=#html-namespace-2 id=case-sensitivity:html-namespace-2-2>HTML namespace</a>
+   <li> the names of attributes of <a href=#html-elements id=case-sensitivity:html-elements-4>HTML elements</a> in <a href=#xml-documents id=case-sensitivity:xml-documents-2>XML documents</a>
+   <li> the names of attributes that themselves have namespaces
+   <li> all attribute values
+  </ul>
 
+
   <h4 id=pseudo-classes>4.15.2 Pseudo-classes</h4>
 
   <p>There are a number of dynamic selectors that can be used with HTML. This section defines when
@@ -84939,6 +84946,7 @@
   Šime Vidas,
   Simon Montagu,
   Simon Pieters,
+  Simon Sapin,
   Simon Spiegel,
   skeww, 
   Smylers,

Modified: index
===================================================================
--- index	2014-09-12 17:39:34 UTC (rev 8763)
+++ index	2014-09-12 17:48:40 UTC (rev 8764)
@@ -50767,12 +50767,19 @@
   comparison is <a href=#case-sensitive id=case-sensitivity:case-sensitive-2>case-sensitive</a>.</p>
   
 
-  <p>Everything else (attribute values on <a href=#html-elements id=case-sensitivity:html-elements-3>HTML elements</a>, IDs and classes in
-  <a href=#no-quirks-mode id=case-sensitivity:no-quirks-mode>no-quirks mode</a> and <a href=#limited-quirks-mode id=case-sensitivity:limited-quirks-mode>limited-quirks mode</a>, and element names, attribute
-  names, and attribute values in <a href=#xml-documents id=case-sensitivity:xml-documents>XML documents</a>) must be treated as
-  <a href=#case-sensitive id=case-sensitivity:case-sensitive-3>case-sensitive</a> for the purposes of selector matching.</p>
+  <p>Everything else must be treated as entirely <a href=#case-sensitive id=case-sensitivity:case-sensitive-3>case-sensitive</a> for the purposes of
+  selector matching. This includes:</p>
 
+  <ul class=brief><li> IDs and classes in <a href=#no-quirks-mode id=case-sensitivity:no-quirks-mode>no-quirks mode</a> and <a href=#limited-quirks-mode id=case-sensitivity:limited-quirks-mode>limited-quirks mode</a>
+   <li> the names of elements not in the <a href=#html-namespace-2 id=case-sensitivity:html-namespace-2>HTML namespace</a>
+   <li> the names of <a href=#html-elements id=case-sensitivity:html-elements-3>HTML elements</a> in <a href=#xml-documents id=case-sensitivity:xml-documents>XML documents</a>
+   <li> the names of attributes of elements not in the <a href=#html-namespace-2 id=case-sensitivity:html-namespace-2-2>HTML namespace</a>
+   <li> the names of attributes of <a href=#html-elements id=case-sensitivity:html-elements-4>HTML elements</a> in <a href=#xml-documents id=case-sensitivity:xml-documents-2>XML documents</a>
+   <li> the names of attributes that themselves have namespaces
+   <li> all attribute values
+  </ul>
 
+
   <h4 id=pseudo-classes>4.15.2 Pseudo-classes</h4>
 
   <p>There are a number of dynamic selectors that can be used with HTML. This section defines when
@@ -84939,6 +84946,7 @@
   Šime Vidas,
   Simon Montagu,
   Simon Pieters,
+  Simon Sapin,
   Simon Spiegel,
   skeww, 
   Smylers,

Modified: source
===================================================================
--- source	2014-09-12 17:39:34 UTC (rev 8763)
+++ source	2014-09-12 17:48:40 UTC (rev 8764)
@@ -66920,12 +66920,20 @@
   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
-  <span>case-sensitive</span> for the purposes of selector matching.</p>
+  <p>Everything else must be treated as entirely <span>case-sensitive</span> for the purposes of
+  selector matching. This includes:</p>
 
+  <ul class=brief>
+   <li> IDs and classes in <span>no-quirks mode</span> and <span>limited-quirks mode</span>
+   <li> the names of elements not in the <span>HTML namespace</span>
+   <li> the names of <span>HTML elements</span> in <span>XML documents</span>
+   <li> the names of attributes of elements not in the <span>HTML namespace</span>
+   <li> the names of attributes of <span>HTML elements</span> in <span>XML documents</span>
+   <li> the names of attributes that themselves have namespaces
+   <li> all attribute values
+  </ul>
 
+
   <h4>Pseudo-classes</h4>
 
   <p>There are a number of dynamic selectors that can be used with HTML. This section defines when
@@ -116387,6 +116395,7 @@
   &#x160;ime Vidas,
   Simon Montagu,
   Simon Pieters,
+  Simon Sapin,
   Simon Spiegel,
   skeww, <!-- on reddit -->
   Smylers,



More information about the Commit-Watchers mailing list