[html5] r7174 - [e] (0) Give up and move classList and className to Element (DOM Core has define [...]

whatwg at whatwg.org whatwg at whatwg.org
Tue Jul 10 14:58:17 PDT 2012


Author: ianh
Date: 2012-07-10 14:58:16 -0700 (Tue, 10 Jul 2012)
New Revision: 7174

Modified:
   complete.html
   index
   source
Log:
[e] (0) Give up and move classList and className to Element (DOM Core has defined them there for some time already), and let the SVG group figure out the fallout from this.
Affected topics: DOM APIs, HTML

Modified: complete.html
===================================================================
--- complete.html	2012-07-10 21:38:32 UTC (rev 7173)
+++ complete.html	2012-07-10 21:58:16 UTC (rev 7174)
@@ -10915,8 +10915,6 @@
            attribute DOMString <a href=#dom-lang title=dom-lang>lang</a>;
            attribute boolean <a href=#dom-translate title=dom-translate>translate</a>;
            attribute DOMString <a href=#dom-dir title=dom-dir>dir</a>;
-           attribute <span>DOMString</span> <a href=#dom-classname title=dom-className>className</a>;
-  readonly attribute <a href=#domtokenlist>DOMTokenList</a> <a href=#dom-classlist title=dom-classList>classList</a>;
   readonly attribute <a href=#domstringmap>DOMStringMap</a> <a href=#dom-dataset title=dom-dataset>dataset</a>;
 
 <!--MD-->  // <a href=#microdata>microdata</a> <!--WARNING: ALSO DUPLICATED IN MICRODATA SECTION-->
@@ -11724,9 +11722,9 @@
 
   <div class=impl>
 
-  <hr><p>The <dfn id=dom-classname title=dom-className><code>className</code></dfn> and
-  <dfn id=dom-classlist title=dom-classList><code>classList</code></dfn> IDL
-  attributes must both <a href=#reflect>reflect</a> the <code title=attr-class><a href=#classes>class</a></code> content attribute.</p>
+  <hr><p class=note>The <dfn id=dom-classname title=dom-className><code>className</code></dfn> and <dfn id=dom-classlist title=dom-classList><code>classList</code></dfn> IDL attributes,
+  defined in the DOM Core specification, <a href=#reflect>reflect</a> the
+  <code title=attr-class><a href=#classes>class</a></code> content attribute. <a href=#refsDOMCORE>[DOMCORE]</a></p>
 
   </div>
 

Modified: index
===================================================================
--- index	2012-07-10 21:38:32 UTC (rev 7173)
+++ index	2012-07-10 21:58:16 UTC (rev 7174)
@@ -10915,8 +10915,6 @@
            attribute DOMString <a href=#dom-lang title=dom-lang>lang</a>;
            attribute boolean <a href=#dom-translate title=dom-translate>translate</a>;
            attribute DOMString <a href=#dom-dir title=dom-dir>dir</a>;
-           attribute <span>DOMString</span> <a href=#dom-classname title=dom-className>className</a>;
-  readonly attribute <a href=#domtokenlist>DOMTokenList</a> <a href=#dom-classlist title=dom-classList>classList</a>;
   readonly attribute <a href=#domstringmap>DOMStringMap</a> <a href=#dom-dataset title=dom-dataset>dataset</a>;
 
 <!--MD-->  // <a href=#microdata>microdata</a> <!--WARNING: ALSO DUPLICATED IN MICRODATA SECTION-->
@@ -11724,9 +11722,9 @@
 
   <div class=impl>
 
-  <hr><p>The <dfn id=dom-classname title=dom-className><code>className</code></dfn> and
-  <dfn id=dom-classlist title=dom-classList><code>classList</code></dfn> IDL
-  attributes must both <a href=#reflect>reflect</a> the <code title=attr-class><a href=#classes>class</a></code> content attribute.</p>
+  <hr><p class=note>The <dfn id=dom-classname title=dom-className><code>className</code></dfn> and <dfn id=dom-classlist title=dom-classList><code>classList</code></dfn> IDL attributes,
+  defined in the DOM Core specification, <a href=#reflect>reflect</a> the
+  <code title=attr-class><a href=#classes>class</a></code> content attribute. <a href=#refsDOMCORE>[DOMCORE]</a></p>
 
   </div>
 

Modified: source
===================================================================
--- source	2012-07-10 21:38:32 UTC (rev 7173)
+++ source	2012-07-10 21:58:16 UTC (rev 7174)
@@ -11290,8 +11290,6 @@
            attribute DOMString <span title="dom-lang">lang</span>;
            attribute boolean <span title="dom-translate">translate</span>;
            attribute DOMString <span title="dom-dir">dir</span>;
-           attribute <span>DOMString</span> <span title="dom-className">className</span>;
-  readonly attribute <span>DOMTokenList</span> <span title="dom-classList">classList</span>;
   readonly attribute <span>DOMStringMap</span> <span title="dom-dataset">dataset</span>;
 
 <!--END w3c-html--><!--MD-->  // <span>microdata</span> <!--WARNING: ALSO DUPLICATED IN MICRODATA SECTION-->
@@ -12203,10 +12201,12 @@
 
   <hr>
 
-  <p>The <dfn title="dom-className"><code>className</code></dfn> and
-  <dfn title="dom-classList"><code>classList</code></dfn> IDL
-  attributes must both <span>reflect</span> the <code
-  title="attr-class">class</code> content attribute.</p>
+  <p class="note">The <dfn
+  title="dom-className"><code>className</code></dfn> and <dfn
+  title="dom-classList"><code>classList</code></dfn> IDL attributes,
+  defined in the DOM Core specification, <span>reflect</span> the
+  <code title="attr-class">class</code> content attribute. <a
+  href="#refsDOMCORE">[DOMCORE]</a></p>
 
   </div>
 




More information about the Commit-Watchers mailing list