HTML5 Tracker

Diff (omit for latest revision)
Filter

Short URL: http://html5.org/r/7174

SVNBugCommentTime (UTC)
7174Give 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.2012-07-10 21:58
Index: source
===================================================================
--- source	(revision 7173)
+++ source	(revision 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>
 

|