Skip to content

Commit

Permalink
[e] (0) Give up and move classList and className to Element (DOM Core…
Browse files Browse the repository at this point in the history
… has defined them there for some time already), and let the SVG group figure out the fallout from this.

Affected topics: DOM APIs, HTML

git-svn-id: http://svn.whatwg.org/webapps@7174 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jul 10, 2012
1 parent f1439f6 commit 0f2d579
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 16 deletions.
8 changes: 3 additions & 5 deletions complete.html
Expand Up @@ -10915,8 +10915,6 @@ <h4 id=elements-in-the-dom><span class=secno>3.2.2 </span>Elements in the DOM</h
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-->
Expand Down Expand Up @@ -11724,9 +11722,9 @@ <h5 id=classes><span class=secno>3.2.3.7 </span>The <dfn title=attr-class><code>

<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>

Expand Down
8 changes: 3 additions & 5 deletions index
Expand Up @@ -10915,8 +10915,6 @@ partial interface <dfn id=document>Document</dfn> {
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-->
Expand Down Expand Up @@ -11724,9 +11722,9 @@ Transport Protocol"&gt;HTTP&lt;/abbr&gt; today.&lt;/p&gt;</pre>

<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>

Expand Down
12 changes: 6 additions & 6 deletions source
Expand Up @@ -11290,8 +11290,6 @@ partial interface <dfn>Document</dfn> {
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-->
Expand Down Expand Up @@ -12203,10 +12201,12 @@ Transport Protocol">HTTP&lt;/abbr> today.&lt;/p></pre>

<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>

Expand Down

0 comments on commit 0f2d579

Please sign in to comment.