[html5] r5450 - [giow] (2) Make ol[type=x] case-sensitive in HTML. Make <ul type='disc'> case-in [...]
whatwg at whatwg.org
whatwg at whatwg.org
Wed Sep 8 15:31:42 PDT 2010
Author: ianh
Date: 2010-09-08 15:31:38 -0700 (Wed, 08 Sep 2010)
New Revision: 5450
Modified:
complete.html
index
source
Log:
[giow] (2) Make ol[type=x] case-sensitive in HTML. Make <ul type='disc'> case-insensitive in XML.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=10245
Modified: complete.html
===================================================================
--- complete.html 2010-09-08 22:17:43 UTC (rev 5449)
+++ complete.html 2010-09-08 22:31:38 UTC (rev 5450)
@@ -52886,7 +52886,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 -->
@@ -52932,14 +52933,17 @@
<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>
<p>There are a number of dynamic selectors that can be used with
@@ -84254,13 +84258,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
+<!--
+ <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
@@ -84991,13 +84995,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] {
Modified: index
===================================================================
--- index 2010-09-08 22:17:43 UTC (rev 5449)
+++ index 2010-09-08 22:31:38 UTC (rev 5450)
@@ -52866,7 +52866,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 -->
@@ -52912,14 +52913,17 @@
<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>
<p>There are a number of dynamic selectors that can be used with
@@ -80172,13 +80176,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
+<!--
+ <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
@@ -80909,13 +80913,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] {
Modified: source
===================================================================
--- source 2010-09-08 22:17:43 UTC (rev 5449)
+++ source 2010-09-08 22:31:38 UTC (rev 5450)
@@ -59170,7 +59170,8 @@
<p>Attribute selectors on an <span title="HTML elements">HTML
element</span> in an <span title="HTML documents">HTML
document</span> must treat the <em>values</em> of attributes with
- the following names as <span>ASCII case-insensitive</span>:</p>
+ the following names as <span>ASCII case-insensitive</span>, 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 -->
@@ -59217,7 +59218,7 @@
<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>
@@ -59226,7 +59227,11 @@
<p>All other attribute values on <span>HTML elements</span> must be
treated as <span>case-sensitive</span>.</p>
+ <p>The exception to the list above is the <code
+ title="attr-ol-type">type</code> attribute on <code>ol</code>
+ elements, which must be treated as <span>case-sensitive</span>.</p>
+
<h4>Pseudo-classes</h4>
<p>There are a number of dynamic selectors that can be used with
@@ -96137,13 +96142,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>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 <span>ASCII case-insensitive</span> matching of
@@ -97003,13 +97008,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] {
More information about the Commit-Watchers
mailing list