Skip to content

Commit

Permalink
HTMLCollection namedItem not *OptionsCollection
Browse files Browse the repository at this point in the history
PR #429. Reference the namedItem method from HTMLCollection, not
HTMLOptionsCollection. Cleanup from 834a858
  • Loading branch information
sideshowbarker committed Dec 20, 2015
1 parent 40295ff commit f0ba718
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source
Expand Up @@ -7397,7 +7397,7 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20html%3E..
from the collection.</p>
</dd>

<dt><var>element</var> = <var>collection</var> . <code subdfn data-x="dom-HTMLOptionsCollection-namedItem">namedItem</code>(<var>name</var>)</dt>
<dt><var>element</var> = <var>collection</var> . <code subdfn data-x="dom-HTMLCollection-namedItem">namedItem</code>(<var>name</var>)</dt>
<dt><var>element</var> = <var>collection</var>[<var>name</var>]</dt>
<dd>
<p>Returns the item with <span data-x="concept-id">ID</span> or <code data-x="attr-option-name">name</code> <var>name</var> from the collection.</p>
Expand Down Expand Up @@ -50068,7 +50068,7 @@ You cannot submit this form when the field is incorrect.</samp></pre>
the same argument.</p>

<p>The <dfn><code data-x="dom-select-namedItem">namedItem(<var>name</var>)</code></dfn>
method must return the value returned by <span data-x="dom-HTMLOptionsCollection-namedItem">the
method must return the value returned by <span data-x="dom-HTMLCollection-namedItem">the
method of the same name</span> on the <code data-x="dom-select-options">options</code> collection,
when invoked with the same argument.</p>

Expand Down

0 comments on commit f0ba718

Please sign in to comment.