W3C home > Mailing lists > Public > public-html-commits@w3.org > July 2008

html5/spec Overview.html,1.1135,1.1136

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Sat, 26 Jul 2008 00:00:30 +0000
To: public-html-commits@w3.org
Message-Id: <E1KMXD4-0000I3-Ul@lionel-hutz.w3.org>

Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv649

Modified Files:
	Overview.html 
Log Message:
Make data-* always lowercase. (whatwg r1945)

Index: Overview.html
===================================================================
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:01:06 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 9 October 2008 20:32:58 GMT