hixie: Make ol[type=x] case-sensitive in HTML. Make <ul type='disc'> case-insensitive in XML. (whatwg r5450)

hixie: Make ol[type=x] case-sensitive in HTML. Make <ul type='disc'>
case-insensitive in XML. (whatwg r5450)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.4344&r2=1.4345&f=h
http://html5.org/tools/web-apps-tracker?from=5449&to=5450

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.4344
retrieving revision 1.4345
diff -u -d -r1.4344 -r1.4345
--- Overview.html 8 Sep 2010 22:17:51 -0000 1.4344
+++ Overview.html 8 Sep 2010 22:31:47 -0000 1.4345
@@ -40818,7 +40818,8 @@
   <p>Attribute selectors on an <a href="#html-elements" title="HTML elements">HTML
   element</a> in an <a href="#html-documents" title="HTML documents">HTML
   document</a> must treat the <em>values</em> of attributes with
-  the following names as <a href="#ascii-case-insensitive">ASCII case-insensitive</a>:</p>
+  the following names as <a href="#ascii-case-insensitive">ASCII case-insensitive</a>, with one
+  exception as noted below:</p>
 
   <!-- based on Mozilla's list, which was itself based on HTML4 -->
   <!-- WebKit's was identical at the time of writing except as noted below -->
@@ -40864,13 +40865,16 @@
    <li><code title="">shape</code>
    <li><code title="">target</code>
    <li><code title="">text</code>
-   <li><code title="">type</code>
+   <li><code title="">type</code> (except as specified below)
    <li><code title="">valign</code>
    <li><code title="">valuetype</code>
    <li><code title="">vlink</code>
   </ul><p>All other attribute values on <a href="#html-elements">HTML elements</a> must be
   treated as <a href="#case-sensitive">case-sensitive</a>.</p>
 
+  <p>The exception to the list above is the <code title="attr-ol-type"><a href="#attr-ol-type">type</a></code> attribute on <code><a href="#the-ol-element">ol</a></code>
+  elements, which must be treated as <a href="#case-sensitive">case-sensitive</a>.</p>
+
 
   <h4 id="pseudo-classes"><span class="secno">4.14.2 </span>Pseudo-classes</h4>
 
@@ -61337,13 +61341,13 @@
   as appropriate for elements whose 'direction' property is 'ltr', and
   are expected to be flipped around on elements whose 'direction'
   property is 'rtl'. These are marked "<dfn id="ltr-specific">LTR-specific</dfn>".</p>
-
+<!--
   <p id="case-sensitive-selector-exception">For the purpose of the
   rules marked "case-sensitive", user agents are expected to use
   case-sensitive matching of attribute values rather than
   case-insensitive matching, regardless of whether a case-insensitive
   matching is normally required for the given attribute.</p>
-
+-->
   <p id="case-insensitive-selector-exception">Similarly, for the
   purpose of the rules marked "case-insensitive", user agents are
   expected to use <a href="#ascii-case-insensitive">ASCII case-insensitive</a> matching of
@@ -62059,13 +62063,13 @@
 br[clear=all], br[clear=both] { clear: both; } /* <a href="#case-insensitive-selector-exception">case-insensitive</a> */
 
 ol[type=1], li[type=1] { list-style-type: decimal; }
-ol[type=a], li[type=a] { list-style-type: lower-alpha; } /* <a href="#case-sensitive-selector-exception">case-sensitive</a> */
-ol[type=A], li[type=A] { list-style-type: upper-alpha; } /* <a href="#case-sensitive-selector-exception">case-sensitive</a> */
-ol[type=i], li[type=i] { list-style-type: lower-roman; } /* <a href="#case-sensitive-selector-exception">case-sensitive</a> */
-ol[type=I], li[type=I] { list-style-type: upper-roman; } /* <a href="#case-sensitive-selector-exception">case-sensitive</a> */
-ul[type=disc], li[type=disc] { list-style-type: disc; }
-ul[type=circle], li[type=circle] { list-style-type: circle; }
-ul[type=square], li[type=square] { list-style-type: square; }
+ol[type=a], li[type=a] { list-style-type: lower-alpha; }<!-- /* <a href="#case-sensitive-selector-exception">case-sensitive</a> */ -->
+ol[type=A], li[type=A] { list-style-type: upper-alpha; }<!-- /* <a href="#case-sensitive-selector-exception">case-sensitive</a> */ -->
+ol[type=i], li[type=i] { list-style-type: lower-roman; }<!-- /* <a href="#case-sensitive-selector-exception">case-sensitive</a> */ -->
+ol[type=I], li[type=I] { list-style-type: upper-roman; }<!-- /* <a href="#case-sensitive-selector-exception">case-sensitive</a> */ -->
+ul[type=disc], li[type=disc] { list-style-type: disc; } /* <a href="#case-insensitive-selector-exception">case-insensitive</a> */
+ul[type=circle], li[type=circle] { list-style-type: circle; } /* <a href="#case-insensitive-selector-exception">case-insensitive</a> */
+ul[type=square], li[type=square] { list-style-type: square; } /* <a href="#case-insensitive-selector-exception">case-insensitive</a> */
 
 table[rules=none], table[rules=groups], table[rules=rows],
 table[rules=cols], table[rules=all] {

Received on Wednesday, 8 September 2010 22:32:35 UTC