Skip to content

Commit

Permalink
[giow] (3) Fix document.all since DOM changed out from under us... al…
Browse files Browse the repository at this point in the history
…so, ack for previous checkin

Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=20396
Affected topics: DOM APIs, HTML

git-svn-id: http://svn.whatwg.org/webapps@7798 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Apr 9, 2013
1 parent 0bdca1e commit 8929547
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 6 deletions.
14 changes: 12 additions & 2 deletions complete.html
Expand Up @@ -7516,8 +7516,17 @@ <h5 id=htmlallcollection-0><span class=secno>2.7.2.1 </span>HTMLAllCollection</h

</dl><div class=impl>

<p>The object's <a href=#supported-property-indices>supported property indices</a> and <a href=#supported-property-names>supported property names</a>
are as defined for <code><a href=#htmlcollection>HTMLCollection</a></code> objects.</p>
<p>The object's <a href=#supported-property-indices>supported property indices</a> are as defined for
<code><a href=#htmlcollection>HTMLCollection</a></code> objects.</p>

<p>The <a href=#supported-property-names>supported property names</a> consist of the values of all the <code title=attr-id><a href=#the-id-attribute>id</a></code> attributes of all the elements <a href=#represented-by-the-collection>represented by the
collection</a>, and the values of all the <code title="">name</code> attributes of all the
<code><a href=#the-a-element>a</a></code>, <code><a href=#the-applet-element>applet</a></code>, <code><a href=#the-area-element>area</a></code>, <code><a href=#the-embed-element>embed</a></code>, <code><a href=#the-form-element>form</a></code>,
<code><a href=#frame>frame</a></code>, <code><a href=#frameset>frameset</a></code>, <code><a href=#the-iframe-element>iframe</a></code>, <code><a href=#the-img-element>img</a></code>, and
<code><a href=#the-object-element>object</a></code> elements <a href=#represented-by-the-collection>represented by the collection</a>, in <a href=#tree-order>tree
order</a>, ignoring later duplicates, with the <code title=attr-id><a href=#the-id-attribute>id</a></code> of an element
preceding its <code title="">name</code> if it has both, they differ from each other, and neither
is the duplicate of an earlier entry.</p>

<p>The <dfn id=dom-htmlallcollection-item-string title=dom-HTMLAllCollection-item-string><code>item(<var title="">name</var>)</code></dfn> and <dfn id=dom-htmlallcollection-nameditem title=dom-HTMLAllCollection-namedItem><code>namedItem(<var title="">name</var>)</code></dfn>
methods must act according to the following algorithm:</p>
Expand Down Expand Up @@ -101945,6 +101954,7 @@ <h2 class=no-num id=references>References</h2><!--REFS-->
Sam Ruby,
Sam Weinig,
Samuel Bronson,
Samy Kamkar,
Sander van Lambalgen,
Sarven Capadisli,
Scott Gonz&aacute;lez,
Expand Down
14 changes: 12 additions & 2 deletions index
Expand Up @@ -7516,8 +7516,17 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d

</dl><div class=impl>

<p>The object's <a href=#supported-property-indices>supported property indices</a> and <a href=#supported-property-names>supported property names</a>
are as defined for <code><a href=#htmlcollection>HTMLCollection</a></code> objects.</p>
<p>The object's <a href=#supported-property-indices>supported property indices</a> are as defined for
<code><a href=#htmlcollection>HTMLCollection</a></code> objects.</p>

<p>The <a href=#supported-property-names>supported property names</a> consist of the values of all the <code title=attr-id><a href=#the-id-attribute>id</a></code> attributes of all the elements <a href=#represented-by-the-collection>represented by the
collection</a>, and the values of all the <code title="">name</code> attributes of all the
<code><a href=#the-a-element>a</a></code>, <code><a href=#the-applet-element>applet</a></code>, <code><a href=#the-area-element>area</a></code>, <code><a href=#the-embed-element>embed</a></code>, <code><a href=#the-form-element>form</a></code>,
<code><a href=#frame>frame</a></code>, <code><a href=#frameset>frameset</a></code>, <code><a href=#the-iframe-element>iframe</a></code>, <code><a href=#the-img-element>img</a></code>, and
<code><a href=#the-object-element>object</a></code> elements <a href=#represented-by-the-collection>represented by the collection</a>, in <a href=#tree-order>tree
order</a>, ignoring later duplicates, with the <code title=attr-id><a href=#the-id-attribute>id</a></code> of an element
preceding its <code title="">name</code> if it has both, they differ from each other, and neither
is the duplicate of an earlier entry.</p>

<p>The <dfn id=dom-htmlallcollection-item-string title=dom-HTMLAllCollection-item-string><code>item(<var title="">name</var>)</code></dfn> and <dfn id=dom-htmlallcollection-nameditem title=dom-HTMLAllCollection-namedItem><code>namedItem(<var title="">name</var>)</code></dfn>
methods must act according to the following algorithm:</p>
Expand Down Expand Up @@ -101945,6 +101954,7 @@ if (s = prompt('What is your name?')) {
Sam Ruby,
Sam Weinig,
Samuel Bronson,
Samy Kamkar,
Sander van Lambalgen,
Sarven Capadisli,
Scott Gonz&aacute;lez,
Expand Down
15 changes: 13 additions & 2 deletions source
Expand Up @@ -7079,8 +7079,18 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d

<div class="impl">

<p>The object's <span>supported property indices</span> and <span>supported property names</span>
are as defined for <code>HTMLCollection</code> objects.</p>
<p>The object's <span>supported property indices</span> are as defined for
<code>HTMLCollection</code> objects.</p>

<p>The <span>supported property names</span> consist of the values of all the <code
title="attr-id">id</code> attributes of all the elements <span>represented by the
collection</span>, and the values of all the <code title="">name</code> attributes of all the
<code>a</code>, <code>applet</code>, <code>area</code>, <code>embed</code>, <code>form</code>,
<code>frame</code>, <code>frameset</code>, <code>iframe</code>, <code>img</code>, and
<code>object</code> elements <span>represented by the collection</span>, in <span>tree
order</span>, ignoring later duplicates, with the <code title="attr-id">id</code> of an element
preceding its <code title="">name</code> if it has both, they differ from each other, and neither
is the duplicate of an earlier entry.</p>

<p>The <dfn title="dom-HTMLAllCollection-item-string"><code>item(<var
title="">name</var>)</code></dfn> and <dfn
Expand Down Expand Up @@ -118844,6 +118854,7 @@ if (s = prompt('What is your name?')) {
Sam Ruby,
Sam Weinig,
Samuel Bronson,
Samy Kamkar,
Sander van Lambalgen,
Sarven Capadisli,
Scott Gonz&aacute;lez,
Expand Down

0 comments on commit 8929547

Please sign in to comment.