W3C home > Mailing lists > Public > public-html-commits@w3.org > October 2011

html5/spec links.html,1.94,1.95 spec.html,1.1728,1.1729

From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
Date: Tue, 18 Oct 2011 23:46:27 +0000
To: public-html-commits@w3.org
Message-Id: <E1RGJMZ-0004XH-Nm@lionel-hutz.w3.org>
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv17395

Modified Files:
	links.html spec.html 
Log Message:
Update selector case-sensitivity matching rules, including dropping the list of magically case-insensitive values. (whatwg r6695)

[updated by splitter]


Index: links.html
===================================================================
RCS file: /sources/public/html5/spec/links.html,v
retrieving revision 1.94
retrieving revision 1.95
diff -u -d -r1.94 -r1.95
--- links.html	14 Oct 2011 21:46:29 -0000	1.94
+++ links.html	18 Oct 2011 23:46:25 -0000	1.95
@@ -1524,74 +1524,31 @@
 
   <h4 id="selectors"><span class="secno">4.14.1 </span>Case-sensitivity</h4>
 
-  <p>Attribute and element <em>names</em> of <a href="infrastructure.html#html-elements">HTML
-  elements</a> in <a href="infrastructure.html#html-documents">HTML documents</a> must be treated as
-  <a href="infrastructure.html#ascii-case-insensitive">ASCII case-insensitive</a>.</p>
+  <p>The Selectors specification leaves the case-sensitivity of IDs,
+  classes, element names, attribute names, and attribute values to be
+  defined by the host language. <a href="references.html#refsSELECTORS">[SELECTORS]</a></p>
+
+  <p>The <a href="infrastructure.html#concept-id" title="concept-id">unique identifier</a> of
+  <a href="infrastructure.html#html-elements">HTML elements</a> in documents that are in <a href="infrastructure.html#quirks-mode">quirks
+  mode</a> must be treated as <a href="infrastructure.html#ascii-case-insensitive">ASCII case-insensitive</a>
+  for the purposes of selector matching.</p>
 
   <p>Classes from the <code title="attr-class"><a href="elements.html#classes">class</a></code> attribute
   of <a href="infrastructure.html#html-elements">HTML elements</a> in documents that are in <a href="infrastructure.html#quirks-mode">quirks
-  mode</a> must be treated as <a href="infrastructure.html#ascii-case-insensitive">ASCII
-  case-insensitive</a>.</p>
-
-  <p>Attribute selectors on an <a href="infrastructure.html#html-elements" title="HTML elements">HTML
-  element</a> in an <a href="infrastructure.html#html-documents" title="HTML documents">HTML
-  document</a> must treat the <em>values</em> of attributes with
-  the following names as <a href="infrastructure.html#ascii-case-insensitive">ASCII case-insensitive</a>, with one
-  exception as noted below:</p>
+  mode</a> must be treated as <a href="infrastructure.html#ascii-case-insensitive">ASCII case-insensitive</a>
+  for the purposes of selector matching.</p>
 
-  
-  
-  <ul class="brief"><li><code title="">accept</code>
-   </li><li><code title="">accept-charset</code>
-   </li><li><code title="">align</code>
-   </li><li><code title="">alink</code>
-   </li><li><code title="">axis</code>
-   </li><li><code title="">bgcolor</code>
-   </li><li><code title="">charset</code>
-   </li><li><code title="">checked</code>
-   </li><li><code title="">clear</code>
-   </li><li><code title="">codetype</code>
-   </li><li><code title="">color</code>
-   </li><li><code title="">compact</code>
-   </li><li><code title="">declare</code>
-   </li><li><code title="">defer</code>
-   </li><li><code title="">dir</code>
-   </li><li><code title="">direction</code> 
-   </li><li><code title="">disabled</code>
-   </li><li><code title="">enctype</code>
-   </li><li><code title="">face</code>
-   </li><li><code title="">frame</code>
-   </li><li><code title="">hreflang</code>
-   </li><li><code title="">http-equiv</code>
-   </li><li><code title="">lang</code>
-   </li><li><code title="">language</code>
-   </li><li><code title="">link</code>
-   </li><li><code title="">media</code>
-   </li><li><code title="">method</code>
-   </li><li><code title="">multiple</code>
-   </li><li><code title="">nohref</code>
-   </li><li><code title="">noresize</code>
-   </li><li><code title="">noshade</code>
-   </li><li><code title="">nowrap</code>
-   </li><li><code title="">readonly</code>
-   </li><li><code title="">rel</code>
-   </li><li><code title="">rev</code>
-   </li><li><code title="">rules</code>
-   </li><li><code title="">scope</code>
-   </li><li><code title="">scrolling</code>
-   </li><li><code title="">selected</code>
-   </li><li><code title="">shape</code>
-   </li><li><code title="">target</code>
-   </li><li><code title="">text</code>
-   </li><li><code title="">type</code> (except as specified below)
-   </li><li><code title="">valign</code>
-   </li><li><code title="">valuetype</code>
-   </li><li><code title="">vlink</code>
-  </li></ul><p>All other attribute values on <a href="infrastructure.html#html-elements">HTML elements</a> must be
-  treated as <a href="infrastructure.html#case-sensitive">case-sensitive</a>.</p>
+  <p>Attribute and element <em>names</em> of <a href="infrastructure.html#html-elements">HTML
+  elements</a> in <a href="infrastructure.html#html-documents">HTML documents</a> must be treated as
+  <a href="infrastructure.html#ascii-case-insensitive">ASCII case-insensitive</a> for the purposes of selector
+  matching.</p>
 
-  <p>The exception to the list above is the <code title="attr-ol-type"><a href="grouping-content.html#attr-ol-type">type</a></code> attribute on <code><a href="grouping-content.html#the-ol-element">ol</a></code>
-  elements, which must be treated as <a href="infrastructure.html#case-sensitive">case-sensitive</a>.</p>
+  <p>Everything else (attribute values on <a href="infrastructure.html#html-elements">HTML elements</a>,
+  IDs and classes in <a href="infrastructure.html#no-quirks-mode">no-quirks mode</a> and
+  <a href="infrastructure.html#limited-quirks-mode">limited-quirks mode</a>, and element names, attribute
+  names, and attribute values in <a href="infrastructure.html#xml-documents">XML documents</a>) must be
+  treated as <a href="infrastructure.html#case-sensitive">case-sensitive</a> for the purposes of selector
+  matching.</p>
 
 
   <h4 id="pseudo-classes"><span class="secno">4.14.2 </span>Pseudo-classes</h4>

Index: spec.html
===================================================================
RCS file: /sources/public/html5/spec/spec.html,v
retrieving revision 1.1728
retrieving revision 1.1729
diff -u -d -r1.1728 -r1.1729
--- spec.html	18 Oct 2011 03:46:23 -0000	1.1728
+++ spec.html	18 Oct 2011 23:46:25 -0000	1.1729
@@ -349,7 +349,7 @@
     <a href="Overview.html">single page HTML</a>,
     <a href="spec.html">multipage HTML</a>,
     <a href="author/">web developer edition</a>.
-This is revision 1.5366.
+This is revision 1.5367.
    </p> 
      <p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a>
    &#169; 2011 <a href="http://www.w3.org/"><abbr title="World Wide
Received on Tuesday, 18 October 2011 23:46:34 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 18 October 2011 23:46:36 GMT