Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[iow] (2) Tentatively drop HTMLCollection.tags() (e.g. document.image…
…s.tags()).

git-svn-id: http://svn.whatwg.org/webapps@4276 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Oct 23, 2009
1 parent fa73152 commit 4c7c3e6
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 36 deletions.
34 changes: 19 additions & 15 deletions complete.html
Expand Up @@ -110,7 +110,7 @@

<header class=head><p><a class=logo href=http://www.whatwg.org/ rel=home><img alt=WHATWG src=/images/logo></a></p>
<hgroup><h1>Web Applications 1.0</h1>
<h2 class="no-num no-toc">Draft Standard &mdash; 22 October 2009</h2>
<h2 class="no-num no-toc">Draft Standard &mdash; 23 October 2009</h2>
</hgroup><p>You can take part in this work. <a href=http://www.whatwg.org/mailing-list>Join the working group's discussion list.</a></p>
<p><strong>Web designers!</strong> We have a <a href=http://blog.whatwg.org/faq/>FAQ</a>, a <a href=http://forums.whatwg.org/>forum</a>, and a <a href=http://www.whatwg.org/mailing-list#help>help mailing list</a> for you!</p>
<!--<p class="impl"><strong>Implementors!</strong> We have a <a href="http://www.whatwg.org/mailing-list#implementors">mailing list</a> for you too!</p>-->
Expand Down Expand Up @@ -5660,8 +5660,11 @@ <h5 id=htmlcollection-0><span class=secno>2.7.2.1 </span>HTMLCollection</h5>
<pre class=idl>interface <dfn id=htmlcollection>HTMLCollection</dfn> {
readonly attribute unsigned long <a href=#dom-htmlcollection-length title=dom-HTMLCollection-length>length</a>;
caller getter Element <a href=#dom-htmlcollection-item title=dom-HTMLCollection-item>item</a>(in unsigned long index);
caller getter Element <a href=#dom-htmlcollection-nameditem title=dom-HTMLCollection-namedItem>namedItem</a>(in DOMString name);
<a href=#htmlallcollection>HTMLAllCollection</a> <a href=#dom-htmlcollection-tags title=dom-HTMLCollection-tags>tags</a>(in DOMString tagName);
caller getter Element <a href=#dom-htmlcollection-nameditem title=dom-HTMLCollection-namedItem>namedItem</a>(in DOMString name);<!--
(removed on the assuption that browsers will remove support:)
https://bugs.webkit.org/show_bug.cgi?id=30695
https://bugs.opera.com/browse/CORE-25171
<span>HTMLAllCollection</span> <span title="dom-HTMLCollection-tags">tags</span>(in DOMString tagName);-->
};</pre>

<dl class=domintro><dt><var title="">collection</var> . <code title=dom-HTMLCollection-length><a href=#dom-htmlcollection-length>length</a></code></dt>
Expand Down Expand Up @@ -5690,12 +5693,12 @@ <h5 id=htmlcollection-0><span class=secno>2.7.2.1 </span>HTMLCollection</h5>
<code><a href=#the-object-element>object</a></code> elements can have a name for the purpose of
this method; their name is given by the value of their <code title="">name</code> attribute.</p>
</dd>

<dt><var title="">collection</var> = <var title="">collection</var> . <code title=dom-HTMLCollection-tags><a href=#dom-htmlcollection-tags>tags</a></code>(<var title="">tagName</var>)</dt>
<!--(see IDL)
<dt><var title="">collection</var> = <var title="">collection</var> . <code title="dom-HTMLCollection-tags">tags</code>(<var title="">tagName</var>)</dt>
<dd>
<p>Returns a collection that is a filtered view of the current collection, containing only elements with the given tag name.</p>
</dd>

-->
</dl><div class=impl>

<hr><p>The object's <span>indices of the supported indexed
Expand Down Expand Up @@ -5735,16 +5738,17 @@ <h5 id=htmlcollection-0><span class=secno>2.7.2.1 </span>HTMLCollection</h5>

</ul><p>If no such elements are found, then the method must return
null.</p>

<p>The <dfn id=dom-htmlcollection-tags title=dom-HTMLCollection-tags><code>tags(<var title="">tagName</var>)</code></dfn> method must return an
<code><a href=#htmlallcollection>HTMLAllCollection</a></code> rooted at the same node as the
<code><a href=#htmlcollection>HTMLCollection</a></code> object on which the method was invoked,
whose filter matches only <a href=#html-elements>HTML elements</a> whose local
<!--(see IDL)
<p>The <dfn title="dom-HTMLCollection-tags"><code>tags(<var
title="">tagName</var>)</code></dfn> method must return an
<code>HTMLAllCollection</code> rooted at the same node as the
<code>HTMLCollection</code> object on which the method was invoked,
whose filter matches only <span>HTML elements</span> whose local
name is the <var title="">tagName</var> argument and that already
match the filter of the <code><a href=#htmlcollection>HTMLCollection</a></code> object on which
the method was invoked. In <a href=#html-documents>HTML documents</a>, the argument
must first be <a href=#converted-to-ascii-lowercase>converted to ASCII lowercase</a>.</p>

match the filter of the <code>HTMLCollection</code> object on which
the method was invoked. In <span>HTML documents</span>, the argument
must first be <span>converted to ASCII lowercase</span>.</p>
-->
</div>


Expand Down
34 changes: 19 additions & 15 deletions index
Expand Up @@ -111,7 +111,7 @@

<header class=head><p><a class=logo href=http://www.whatwg.org/ rel=home><img alt=WHATWG src=/images/logo></a></p>
<hgroup><h1>HTML5</h1>
<h2 class="no-num no-toc">Draft Standard &mdash; 22 October 2009</h2>
<h2 class="no-num no-toc">Draft Standard &mdash; 23 October 2009</h2>
</hgroup><p>You can take part in this work. <a href=http://www.whatwg.org/mailing-list>Join the working group's discussion list.</a></p>
<p><strong>Web designers!</strong> We have a <a href=http://blog.whatwg.org/faq/>FAQ</a>, a <a href=http://forums.whatwg.org/>forum</a>, and a <a href=http://www.whatwg.org/mailing-list#help>help mailing list</a> for you!</p>
<!--<p class="impl"><strong>Implementors!</strong> We have a <a href="http://www.whatwg.org/mailing-list#implementors">mailing list</a> for you too!</p>-->
Expand Down Expand Up @@ -5490,8 +5490,11 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
<pre class=idl>interface <dfn id=htmlcollection>HTMLCollection</dfn> {
readonly attribute unsigned long <a href=#dom-htmlcollection-length title=dom-HTMLCollection-length>length</a>;
caller getter Element <a href=#dom-htmlcollection-item title=dom-HTMLCollection-item>item</a>(in unsigned long index);
caller getter Element <a href=#dom-htmlcollection-nameditem title=dom-HTMLCollection-namedItem>namedItem</a>(in DOMString name);
<a href=#htmlallcollection>HTMLAllCollection</a> <a href=#dom-htmlcollection-tags title=dom-HTMLCollection-tags>tags</a>(in DOMString tagName);
caller getter Element <a href=#dom-htmlcollection-nameditem title=dom-HTMLCollection-namedItem>namedItem</a>(in DOMString name);<!--
(removed on the assuption that browsers will remove support:)
https://bugs.webkit.org/show_bug.cgi?id=30695
https://bugs.opera.com/browse/CORE-25171
<span>HTMLAllCollection</span> <span title="dom-HTMLCollection-tags">tags</span>(in DOMString tagName);-->
};</pre>

<dl class=domintro><dt><var title="">collection</var> . <code title=dom-HTMLCollection-length><a href=#dom-htmlcollection-length>length</a></code></dt>
Expand Down Expand Up @@ -5520,12 +5523,12 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
<code><a href=#the-object-element>object</a></code> elements can have a name for the purpose of
this method; their name is given by the value of their <code title="">name</code> attribute.</p>
</dd>

<dt><var title="">collection</var> = <var title="">collection</var> . <code title=dom-HTMLCollection-tags><a href=#dom-htmlcollection-tags>tags</a></code>(<var title="">tagName</var>)</dt>
<!--(see IDL)
<dt><var title="">collection</var> = <var title="">collection</var> . <code title="dom-HTMLCollection-tags">tags</code>(<var title="">tagName</var>)</dt>
<dd>
<p>Returns a collection that is a filtered view of the current collection, containing only elements with the given tag name.</p>
</dd>

-->
</dl><div class=impl>

<hr><p>The object's <span>indices of the supported indexed
Expand Down Expand Up @@ -5565,16 +5568,17 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d

</ul><p>If no such elements are found, then the method must return
null.</p>

<p>The <dfn id=dom-htmlcollection-tags title=dom-HTMLCollection-tags><code>tags(<var title="">tagName</var>)</code></dfn> method must return an
<code><a href=#htmlallcollection>HTMLAllCollection</a></code> rooted at the same node as the
<code><a href=#htmlcollection>HTMLCollection</a></code> object on which the method was invoked,
whose filter matches only <a href=#html-elements>HTML elements</a> whose local
<!--(see IDL)
<p>The <dfn title="dom-HTMLCollection-tags"><code>tags(<var
title="">tagName</var>)</code></dfn> method must return an
<code>HTMLAllCollection</code> rooted at the same node as the
<code>HTMLCollection</code> object on which the method was invoked,
whose filter matches only <span>HTML elements</span> whose local
name is the <var title="">tagName</var> argument and that already
match the filter of the <code><a href=#htmlcollection>HTMLCollection</a></code> object on which
the method was invoked. In <a href=#html-documents>HTML documents</a>, the argument
must first be <a href=#converted-to-ascii-lowercase>converted to ASCII lowercase</a>.</p>

match the filter of the <code>HTMLCollection</code> object on which
the method was invoked. In <span>HTML documents</span>, the argument
must first be <span>converted to ASCII lowercase</span>.</p>
-->
</div>


Expand Down
15 changes: 9 additions & 6 deletions source
Expand Up @@ -5178,8 +5178,11 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
<pre class="idl">interface <dfn>HTMLCollection</dfn> {
readonly attribute unsigned long <span title="dom-HTMLCollection-length">length</span>;
caller getter Element <span title="dom-HTMLCollection-item">item</span>(in unsigned long index);
caller getter Element <span title="dom-HTMLCollection-namedItem">namedItem</span>(in DOMString name);
<span>HTMLAllCollection</span> <span title="dom-HTMLCollection-tags">tags</span>(in DOMString tagName);
caller getter Element <span title="dom-HTMLCollection-namedItem">namedItem</span>(in DOMString name);<!--
(removed on the assuption that browsers will remove support:)
https://bugs.webkit.org/show_bug.cgi?id=30695
https://bugs.opera.com/browse/CORE-25171
<span>HTMLAllCollection</span> <span title="dom-HTMLCollection-tags">tags</span>(in DOMString tagName);-->
};</pre>

<dl class="domintro">
Expand Down Expand Up @@ -5211,12 +5214,12 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
this method; their name is given by the value of their <code
title="">name</code> attribute.</p>
</dd>

<!--(see IDL)
<dt><var title="">collection</var> = <var title="">collection</var> . <code title="dom-HTMLCollection-tags">tags</code>(<var title="">tagName</var>)</dt>
<dd>
<p>Returns a collection that is a filtered view of the current collection, containing only elements with the given tag name.</p>
</dd>

-->
</dl>

<div class="impl">
Expand Down Expand Up @@ -5271,7 +5274,7 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d

<p>If no such elements are found, then the method must return
null.</p>

<!--(see IDL)
<p>The <dfn title="dom-HTMLCollection-tags"><code>tags(<var
title="">tagName</var>)</code></dfn> method must return an
<code>HTMLAllCollection</code> rooted at the same node as the
Expand All @@ -5281,7 +5284,7 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
match the filter of the <code>HTMLCollection</code> object on which
the method was invoked. In <span>HTML documents</span>, the argument
must first be <span>converted to ASCII lowercase</span>.</p>

-->
</div>


Expand Down

0 comments on commit 4c7c3e6

Please sign in to comment.