Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[giow] (1) Make <form> elements use RadioNodeList as well.
Affected topics: DOM APIs, HTML

git-svn-id: http://svn.whatwg.org/webapps@7090 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed May 7, 2012
1 parent d220d1c commit 356384f
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 24 deletions.
16 changes: 8 additions & 8 deletions complete.html
Expand Up @@ -43945,8 +43945,8 @@ <h4 id=categories><span class=secno>4.10.2 </span>Categories</h4>
<dd>

<p>Returns the form control (or, if there are several, a
<code><a href=#nodelist>NodeList</a></code> of the form controls) in the form with the
given <a href=#concept-id title=concept-id>ID</a> or <code title=attr-fe-name><a href=#attr-fe-name>name</a></code> (excluding image buttons for
<code><a href=#radionodelist>RadioNodeList</a></code> of the form controls) in the form with
the given <a href=#concept-id title=concept-id>ID</a> or <code title=attr-fe-name><a href=#attr-fe-name>name</a></code> (excluding image buttons for
historical reasons); or, if there are none, returns the
<code><a href=#the-img-element>img</a></code> element with the given ID.</p>

Expand All @@ -43956,7 +43956,7 @@ <h4 id=categories><span class=secno>4.10.2 </span>Categories</h4>
element remains in the <code><a href=#document>Document</a></code>.</p>

<p>If there are multiple matching items, then a
<code><a href=#nodelist>NodeList</a></code> object containing all those elements is
<code><a href=#radionodelist>RadioNodeList</a></code> object containing all those elements is
returned.</p>

</dd>
Expand Down Expand Up @@ -44034,14 +44034,13 @@ <h4 id=categories><span class=secno>4.10.2 </span>Categories</h4>
retrieval</dfn>, the user agent must run the following steps:</p>

<ol><li><p>Let <var title="">candidates</var> be a <a href=#live>live</a>
<code><a href=#nodelist>NodeList</a></code> object containing all the <a href=#category-listed title=category-listed>listed elements</a> that are descendants
<code><a href=#radionodelist>RadioNodeList</a></code> object containing all the <a href=#category-listed title=category-listed>listed elements</a> that are descendants
of the <code><a href=#the-form-element>form</a></code> element and that have either an <code title=attr-id><a href=#the-id-attribute>id</a></code> attribute or a <code title=attr-fe-name><a href=#attr-fe-name>name</a></code> attribute equal to <var title="">name</var>, in <a href=#tree-order>tree order</a>.</li>

<li><p>If <var title="">candidates</var> is empty, let <var title="">candidates</var> be a <a href=#live>live</a>
<code><a href=#nodelist>NodeList</a></code> object containing all the <code><a href=#the-img-element>img</a></code>
elements that are descendants of the <code><a href=#the-form-element>form</a></code> element and
that have either an <code title=attr-id><a href=#the-id-attribute>id</a></code> attribute or a
<code title=attr-img-name><a href=#attr-img-name>name</a></code> attribute equal to <var title="">name</var>, in <a href=#tree-order>tree order</a>.</li>
<code><a href=#radionodelist>RadioNodeList</a></code> object containing all the
<code><a href=#the-img-element>img</a></code> elements that are descendants of the
<code><a href=#the-form-element>form</a></code> element and that have either an <code title=attr-id><a href=#the-id-attribute>id</a></code> attribute or a <code title=attr-img-name><a href=#attr-img-name>name</a></code> attribute equal to <var title="">name</var>, in <a href=#tree-order>tree order</a>.</li>

<li><p>If <var title="">candidates</var> is empty, <var title="">name</var> is the name of one of the entries in the
<code><a href=#the-form-element>form</a></code> element's <a href=#past-names-map>past names map</a>: return the
Expand Down Expand Up @@ -102073,6 +102072,7 @@ <h3 class="no-num">Reflecting IDL attributes</h3>
Ivo Emanuel Gon&ccedil;alves,
J. King,
Jacques Distler,
Jake Verbaten,
James Craig,
James Graham,
James Justin Harrell,
Expand Down
16 changes: 8 additions & 8 deletions index
Expand Up @@ -43945,8 +43945,8 @@ interface <dfn id=htmlformelement>HTMLFormElement</dfn> : <a href=#htmlelement>H
<dd>

<p>Returns the form control (or, if there are several, a
<code><a href=#nodelist>NodeList</a></code> of the form controls) in the form with the
given <a href=#concept-id title=concept-id>ID</a> or <code title=attr-fe-name><a href=#attr-fe-name>name</a></code> (excluding image buttons for
<code><a href=#radionodelist>RadioNodeList</a></code> of the form controls) in the form with
the given <a href=#concept-id title=concept-id>ID</a> or <code title=attr-fe-name><a href=#attr-fe-name>name</a></code> (excluding image buttons for
historical reasons); or, if there are none, returns the
<code><a href=#the-img-element>img</a></code> element with the given ID.</p>

Expand All @@ -43956,7 +43956,7 @@ interface <dfn id=htmlformelement>HTMLFormElement</dfn> : <a href=#htmlelement>H
element remains in the <code><a href=#document>Document</a></code>.</p>

<p>If there are multiple matching items, then a
<code><a href=#nodelist>NodeList</a></code> object containing all those elements is
<code><a href=#radionodelist>RadioNodeList</a></code> object containing all those elements is
returned.</p>

</dd>
Expand Down Expand Up @@ -44034,14 +44034,13 @@ interface <dfn id=htmlformelement>HTMLFormElement</dfn> : <a href=#htmlelement>H
retrieval</dfn>, the user agent must run the following steps:</p>

<ol><li><p>Let <var title="">candidates</var> be a <a href=#live>live</a>
<code><a href=#nodelist>NodeList</a></code> object containing all the <a href=#category-listed title=category-listed>listed elements</a> that are descendants
<code><a href=#radionodelist>RadioNodeList</a></code> object containing all the <a href=#category-listed title=category-listed>listed elements</a> that are descendants
of the <code><a href=#the-form-element>form</a></code> element and that have either an <code title=attr-id><a href=#the-id-attribute>id</a></code> attribute or a <code title=attr-fe-name><a href=#attr-fe-name>name</a></code> attribute equal to <var title="">name</var>, in <a href=#tree-order>tree order</a>.</li>

<li><p>If <var title="">candidates</var> is empty, let <var title="">candidates</var> be a <a href=#live>live</a>
<code><a href=#nodelist>NodeList</a></code> object containing all the <code><a href=#the-img-element>img</a></code>
elements that are descendants of the <code><a href=#the-form-element>form</a></code> element and
that have either an <code title=attr-id><a href=#the-id-attribute>id</a></code> attribute or a
<code title=attr-img-name><a href=#attr-img-name>name</a></code> attribute equal to <var title="">name</var>, in <a href=#tree-order>tree order</a>.</li>
<code><a href=#radionodelist>RadioNodeList</a></code> object containing all the
<code><a href=#the-img-element>img</a></code> elements that are descendants of the
<code><a href=#the-form-element>form</a></code> element and that have either an <code title=attr-id><a href=#the-id-attribute>id</a></code> attribute or a <code title=attr-img-name><a href=#attr-img-name>name</a></code> attribute equal to <var title="">name</var>, in <a href=#tree-order>tree order</a>.</li>

<li><p>If <var title="">candidates</var> is empty, <var title="">name</var> is the name of one of the entries in the
<code><a href=#the-form-element>form</a></code> element's <a href=#past-names-map>past names map</a>: return the
Expand Down Expand Up @@ -102073,6 +102072,7 @@ if (s = prompt('What is your name?')) {
Ivo Emanuel Gon&ccedil;alves,
J. King,
Jacques Distler,
Jake Verbaten,
James Craig,
James Graham,
James Justin Harrell,
Expand Down
18 changes: 10 additions & 8 deletions source
Expand Up @@ -51385,8 +51385,8 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
<dd>

<p>Returns the form control (or, if there are several, a
<code>NodeList</code> of the form controls) in the form with the
given <span title="concept-id">ID</span> or <code
<code>RadioNodeList</code> of the form controls) in the form with
the given <span title="concept-id">ID</span> or <code
title="attr-fe-name">name</code> (excluding image buttons for
historical reasons); or, if there are none, returns the
<code>img</code> element with the given ID.</p>
Expand All @@ -51399,7 +51399,7 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
element remains in the <code>Document</code>.</p>

<p>If there are multiple matching items, then a
<code>NodeList</code> object containing all those elements is
<code>RadioNodeList</code> object containing all those elements is
returned.</p>

</dd>
Expand Down Expand Up @@ -51500,7 +51500,7 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {
<ol>

<li><p>Let <var title="">candidates</var> be a <span>live</span>
<code>NodeList</code> object containing all the <span
<code>RadioNodeList</code> object containing all the <span
title="category-listed">listed elements</span> that are descendants
of the <code>form</code> element and that have either an <code
title="attr-id">id</code> attribute or a <code
Expand All @@ -51509,10 +51509,11 @@ interface <dfn>HTMLFormElement</dfn> : <span>HTMLElement</span> {

<li><p>If <var title="">candidates</var> is empty, let <var
title="">candidates</var> be a <span>live</span>
<code>NodeList</code> object containing all the <code>img</code>
elements that are descendants of the <code>form</code> element and
that have either an <code title="attr-id">id</code> attribute or a
<code title="attr-img-name">name</code> attribute equal to <var
<code>RadioNodeList</code> object containing all the
<code>img</code> elements that are descendants of the
<code>form</code> element and that have either an <code
title="attr-id">id</code> attribute or a <code
title="attr-img-name">name</code> attribute equal to <var
title="">name</var>, in <span>tree order</span>.</p></li>

<li><p>If <var title="">candidates</var> is empty, <var
Expand Down Expand Up @@ -119759,6 +119760,7 @@ if (s = prompt('What is your name?')) {
Ivo Emanuel Gon&ccedil;alves,
J. King,
Jacques Distler,
Jake Verbaten,
James Craig,
James Graham,
James Justin Harrell,
Expand Down

0 comments on commit 356384f

Please sign in to comment.