Skip to content

Commit

Permalink
We resolved that this will always return an Element.
Browse files Browse the repository at this point in the history
  • Loading branch information
annevk committed Mar 25, 2013
1 parent a6add90 commit 9ad0906
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Overview.src.html
Expand Up @@ -8360,7 +8360,7 @@ <h3>Interface <code>HTMLCollection</code></h3>
<pre class=idl>interface <dfn>HTMLCollection</dfn> {
readonly attribute unsigned long <span title=dom-HTMLCollection-length>length</span>;
getter <span>Element</span>? <span title=dom-HTMLCollection-item>item</span>(unsigned long <var title>index</var>);
getter object? <span title=dom-HTMLCollection-namedItem>namedItem</span>(DOMString <var title>name</var>); // only returns <code>Element</code>
getter <span>Element</span>? <span title=dom-HTMLCollection-namedItem>namedItem</span>(DOMString <var title>name</var>);
};</pre>

<dl class=domintro>
Expand Down
8 changes: 4 additions & 4 deletions dom-core.html
Expand Up @@ -11,7 +11,7 @@
<p><a class="logo" href="//www.whatwg.org/"><img alt="WHATWG" height="100" src="//resources.whatwg.org/logo-dom.svg" width="100"></a></p>

<h1>DOM</h1>
<h2 class="no-num no-toc" id="living-standard-—-last-updated-7-march-2013">Living Standard — Last Updated 7 March 2013</h2>
<h2 class="no-num no-toc" id="living-standard-—-last-updated-25-march-2013">Living Standard — Last Updated 25 March 2013</h2>

<dl>
<dt>This Version:
Expand Down Expand Up @@ -45,7 +45,7 @@ <h2 class="no-num no-toc" id="living-standard-—-last-updated-7-march-2013">Liv
<p class="copyright"><a href="http://creativecommons.org/publicdomain/zero/1.0/" rel="license"><img alt="CC0" src="http://i.creativecommons.org/p/zero/1.0/80x15.png"></a>
To the extent possible under law, the editors have waived all copyright and
related or neighboring rights to this work. In addition, as of
7 March 2013, the editors have made this specification available
25 March 2013, the editors have made this specification available
under the
<a href="http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0" rel="license">Open Web Foundation Agreement Version 1.0</a>,
which is available at
Expand Down Expand Up @@ -5779,7 +5779,7 @@ <h3 id="interface-characterdata"><span class="secno">5.9 </span>Interface <code>


<h3 id="interface-text"><span class="secno">5.10 </span>Interface <code><a href="#text">Text</a></code></h3>
<pre class="idl">[<a href="#dom-text" title="dom-Text">Text</a>(optional DOMString <var title="">data</var> = "")]
<pre class="idl">[<a href="#dom-text" title="dom-Text">Constructor</a>(optional DOMString <var title="">data</var> = "")]
interface <dfn id="text">Text</dfn> : <a href="#characterdata">CharacterData</a> {
<a href="#text">Text</a> <a href="#dom-text-splittext" title="dom-Text-splitText">splitText</a>(unsigned long <var title="">offset</var>);
readonly attribute DOMString <a href="#dom-text-wholetext" title="dom-Text-wholeText">wholeText</a>;
Expand Down Expand Up @@ -8386,7 +8386,7 @@ <h3 id="interface-htmlcollection"><span class="secno">8.2 </span>Interface <code
<pre class="idl">interface <dfn id="htmlcollection">HTMLCollection</dfn> {
readonly attribute unsigned long <a href="#dom-htmlcollection-length" title="dom-HTMLCollection-length">length</a>;
getter <a href="#element">Element</a>? <a href="#dom-htmlcollection-item" title="dom-HTMLCollection-item">item</a>(unsigned long <var title="">index</var>);
getter object? <a href="#dom-htmlcollection-nameditem" title="dom-HTMLCollection-namedItem">namedItem</a>(DOMString <var title="">name</var>); // only returns <code><a href="#element">Element</a></code>
getter <a href="#element">Element</a>? <a href="#dom-htmlcollection-nameditem" title="dom-HTMLCollection-namedItem">namedItem</a>(DOMString <var title="">name</var>);
};</pre>

<dl class="domintro">
Expand Down

0 comments on commit 9ad0906

Please sign in to comment.