spec/Overview.html 1.1136 1945 Make data-* always lowercase. (whatwg r1

Make data-* always lowercase. (whatwg r1945)

data-
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1136.html#data-
discard a Document
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1136.html#discard
dataset
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1136.html#dataset
custom data attribute
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1136.html#custom

http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1135&r2=1.1136&f=h
http://html5.org/tools/web-apps-tracker?from=1944&to=1945

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1135
retrieving revision 1.1136
diff -u -d -r1.1135 -r1.1136
--- Overview.html 25 Jul 2008 23:01:36 -0000 1.1135
+++ Overview.html 26 Jul 2008 00:00:28 -0000 1.1136
@@ -8040,8 +8040,13 @@
   <p>A <dfn id=custom>custom data attribute</dfn> is an attribute whose name
    starts with the string "<dfn id=data-
    title="attr-data-*"><code>data-</code></dfn>", has at least one character
-   after the hyphen, is <a href="#xml-compatible">XML-compatible</a>, and has
-   no namespace.
+   after the hyphen, is <a href="#xml-compatible">XML-compatible</a>, has no
+   namespace, and contains no characters in the range U+0041 .. U+005A (LATIN
+   CAPITAL LETTER A LATIN CAPITAL LETTER Z).
+
+  <p class=note>All attributes in <a href="#html-">HTML documents</a> get
+   lowercased automatically, so the restriction on uppercase letters doesn't
+   affect such documents.
 
   <p><a href="#custom" title="custom data attribute">Custom data
    attributes</a> are intended to store custom data private to the page or
@@ -8067,7 +8072,8 @@
    <dd>
     <ol>
      <li>Let <var title="">name</var> be the concatenation of the string
-      <code title="">data-</code> and the name passed to the algorithm.
+      <code title="">data-</code> and the name passed to the algorithm, <a
+      href="#converting0">converted to lowercase</a>.
 
      <li>If the element does not have an attribute with the name <var
       title="">name</var>, then the name has no corresponding value, abort.
@@ -8081,7 +8087,8 @@
    <dd>
     <ol>
      <li>Let <var title="">name</var> be the concatenation of the string
-      <code title="">data-</code> and the name passed to the algorithm.
+      <code title="">data-</code> and the name passed to the algorithm, <a
+      href="#converting0">converted to lowercase</a>.
 
      <li>Let <var title="">value</var> be the value passed to the algorithm.
 
@@ -8098,7 +8105,8 @@
    <dd>
     <ol>
      <li>Let <var title="">name</var> be the concatenation of the string
-      <code title="">data-</code> and the name passed to the algorithm.
+      <code title="">data-</code> and the name passed to the algorithm, <a
+      href="#converting0">converted to lowercase</a>.
 
      <li>Remove the attribute with the name <var title="">name</var>, if such
       an attribute exists. Do nothing otherwise.
@@ -36018,7 +36026,7 @@
    document</a>, or otherwise any ports in that document's <a
    href="#list-of3">list of message ports</a>, if the document is not the <a
    href="#active">active document</a>, must be <span>deactivated</span> and
-   unentangled..
+   unentangled.
 
   <p class=big-issue>Also, <code title=event-unload>unload</code> events
    should fire.

Received on Saturday, 26 July 2008 00:04:51 UTC