Skip to content

Commit

Permalink
[giow] (0) Update HTMLCollection section in preparation for bug 18784…
Browse files Browse the repository at this point in the history
…; fix iframe load event delay for bug 17680.

Affected topics: DOM APIs, HTML, Microdata

git-svn-id: http://svn.whatwg.org/webapps@7320 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Sep 5, 2012
1 parent cc33290 commit 3948449
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 24 deletions.
19 changes: 11 additions & 8 deletions complete.html
Original file line number Diff line number Diff line change
Expand Up @@ -9138,8 +9138,7 @@ <h5 id=htmlallcollection-0><span class=secno>2.8.2.1 </span>HTMLAllCollection</h
It is intended only for the legacy <code title=dom-document-all><a href=#dom-document-all>document.all</a></code> attribute.</p>

<pre class=idl>interface <dfn id=htmlallcollection>HTMLAllCollection</dfn> : <a href=#htmlcollection>HTMLCollection</a> {
// inherits <span title=dom-HTMLCollection-length>length</span> and <span title=dom-HTMLCollection-item>item</span>(unsigned long index)
object? <a href=#dom-htmlallcollection-item-string title=dom-HTMLAllCollection-item-string>item</a>(DOMString name);
// inherits <span title=dom-HTMLCollection-length>length</span> and <span title=dom-HTMLCollection-item>item</span>()
legacycaller getter object? <a href=#dom-htmlallcollection-nameditem title=dom-HTMLAllCollection-namedItem>namedItem</a>(DOMString name); // overrides inherited namedItem()
<a href=#htmlallcollection>HTMLAllCollection</a> <a href=#dom-htmlallcollection-tags title=dom-HTMLAllCollection-tags>tags</a>(DOMString tagName);
};</pre>
Expand Down Expand Up @@ -9263,6 +9262,7 @@ <h5 id=htmlformcontrolscollection-0><span class=secno>2.8.2.2 </span>HTMLFormCon

<dt><var title="">element</var> = <var title="">collection</var> . <code title=dom-HTMLFormControlsCollection-namedItem><a href=#dom-htmlformcontrolscollection-nameditem>namedItem</a></code>(<var title="">name</var>)</dt>
<dt><var title="">radioNodeList</var> = <var title="">collection</var> . <code title=dom-HTMLFormControlsCollection-namedItem><a href=#dom-htmlformcontrolscollection-nameditem>namedItem</a></code>(<var title="">name</var>)</dt>
<dt><var title="">element</var> = <var title="">collection</var> . <code title=dom-HTMLCollection-item>item</code>(<var title="">name</var>)</dt>
<dt><var title="">collection</var>[<var title="">name</var>]</dt>
<dt><var title="">collection</var>(<var title="">name</var>)</dt>
<dd>
Expand Down Expand Up @@ -9381,6 +9381,7 @@ <h5 id=htmloptionscollection-0><span class=secno>2.8.2.3 </span>HTMLOptionsColle

<dt><var title="">element</var> = <var title="">collection</var> . <code title=dom-HTMLOptionsCollection-namedItem><a href=#dom-htmloptionscollection-nameditem>namedItem</a></code>(<var title="">name</var>)</dt>
<dt><var title="">nodeList</var> = <var title="">collection</var> . <code title=dom-HTMLOptionsCollection-namedItem><a href=#dom-htmloptionscollection-nameditem>namedItem</a></code>(<var title="">name</var>)</dt>
<dt><var title="">element</var> = <var title="">collection</var> . <code title=dom-HTMLCollection-item>item</code>(<var title="">name</var>)</dt>
<dt><var title="">collection</var>[<var title="">name</var>]</dt>
<dt><var title="">collection</var>(<var title="">name</var>)</dt>
<dd>
Expand Down Expand Up @@ -9577,6 +9578,7 @@ <h5 id=htmlpropertiescollection-0><span class=secno>2.8.2.4 </span>HTMLPropertie
</dd>

<dt><var title="">propertyNodeList</var> = <var title="">collection</var> . <code title=dom-HTMLPropertiesCollection-namedItem><a href=#dom-htmlpropertiescollection-nameditem>namedItem</a></code>(<var title="">name</var>)</dt>
<dt><var title="">element</var> = <var title="">collection</var> . <code title=dom-HTMLCollection-item>item</code>(<var title="">name</var>)</dt>
<dd>
<p>Returns a <code><a href=#propertynodelist>PropertyNodeList</a></code> object containing any elements that add a property named <var title="">name</var>.</p>
</dd>
Expand Down Expand Up @@ -26665,12 +26667,13 @@ <h4 id=the-iframe-element><span class=secno>4.8.2 </span>The <dfn><code>iframe</
fired at the <code><a href=#the-iframe-element>iframe</a></code> element when it is created if no
other data is loaded in it.</p>

<p>When there is an <a href=#active-parser>active parser</a> in the
<code><a href=#the-iframe-element>iframe</a></code>, and when anything in the <code><a href=#the-iframe-element>iframe</a></code> is
<a href=#delay-the-load-event title="delay the load event">delaying the load event</a> of
the <code><a href=#the-iframe-element>iframe</a></code>'s <a href=#browsing-context>browsing context</a>'s
<a href=#active-document>active document</a>, the <code><a href=#the-iframe-element>iframe</a></code> must
<a href=#delay-the-load-event>delay the load event</a> of its document.</p>
<p>When the <code><a href=#the-iframe-element>iframe</a></code>'s <a href=#active-document>active document</a> is
not <a href=#ready-for-post-load-tasks>ready for post-load tasks</a>, and when anything in the
<code><a href=#the-iframe-element>iframe</a></code> is <a href=#delay-the-load-event title="delay the load event">delaying
the load event</a> of the <code><a href=#the-iframe-element>iframe</a></code>'s <a href=#browsing-context>browsing
context</a>'s <a href=#active-document>active document</a>, the
<code><a href=#the-iframe-element>iframe</a></code> must <a href=#delay-the-load-event>delay the load event</a> of its
document.</p>

<p class=note>If, during the handling of the <code title=event-load>load</code> event, the <a href=#browsing-context>browsing
context</a> in the <code><a href=#the-iframe-element>iframe</a></code> is again <a href=#navigate title=navigate>navigated</a>, that will further <a href=#delay-the-load-event>delay the
Expand Down
19 changes: 11 additions & 8 deletions index
Original file line number Diff line number Diff line change
Expand Up @@ -9138,8 +9138,7 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
It is intended only for the legacy <code title=dom-document-all><a href=#dom-document-all>document.all</a></code> attribute.</p>

<pre class=idl>interface <dfn id=htmlallcollection>HTMLAllCollection</dfn> : <a href=#htmlcollection>HTMLCollection</a> {
// inherits <span title=dom-HTMLCollection-length>length</span> and <span title=dom-HTMLCollection-item>item</span>(unsigned long index)
object? <a href=#dom-htmlallcollection-item-string title=dom-HTMLAllCollection-item-string>item</a>(DOMString name);
// inherits <span title=dom-HTMLCollection-length>length</span> and <span title=dom-HTMLCollection-item>item</span>()
legacycaller getter object? <a href=#dom-htmlallcollection-nameditem title=dom-HTMLAllCollection-namedItem>namedItem</a>(DOMString name); // overrides inherited namedItem()
<a href=#htmlallcollection>HTMLAllCollection</a> <a href=#dom-htmlallcollection-tags title=dom-HTMLAllCollection-tags>tags</a>(DOMString tagName);
};</pre>
Expand Down Expand Up @@ -9263,6 +9262,7 @@ interface <dfn id=radionodelist>RadioNodeList</dfn> : <a href=#nodelist>NodeList

<dt><var title="">element</var> = <var title="">collection</var> . <code title=dom-HTMLFormControlsCollection-namedItem><a href=#dom-htmlformcontrolscollection-nameditem>namedItem</a></code>(<var title="">name</var>)</dt>
<dt><var title="">radioNodeList</var> = <var title="">collection</var> . <code title=dom-HTMLFormControlsCollection-namedItem><a href=#dom-htmlformcontrolscollection-nameditem>namedItem</a></code>(<var title="">name</var>)</dt>
<dt><var title="">element</var> = <var title="">collection</var> . <code title=dom-HTMLCollection-item>item</code>(<var title="">name</var>)</dt>
<dt><var title="">collection</var>[<var title="">name</var>]</dt>
<dt><var title="">collection</var>(<var title="">name</var>)</dt>
<dd>
Expand Down Expand Up @@ -9381,6 +9381,7 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20html%3E..

<dt><var title="">element</var> = <var title="">collection</var> . <code title=dom-HTMLOptionsCollection-namedItem><a href=#dom-htmloptionscollection-nameditem>namedItem</a></code>(<var title="">name</var>)</dt>
<dt><var title="">nodeList</var> = <var title="">collection</var> . <code title=dom-HTMLOptionsCollection-namedItem><a href=#dom-htmloptionscollection-nameditem>namedItem</a></code>(<var title="">name</var>)</dt>
<dt><var title="">element</var> = <var title="">collection</var> . <code title=dom-HTMLCollection-item>item</code>(<var title="">name</var>)</dt>
<dt><var title="">collection</var>[<var title="">name</var>]</dt>
<dt><var title="">collection</var>(<var title="">name</var>)</dt>
<dd>
Expand Down Expand Up @@ -9577,6 +9578,7 @@ interface <dfn id=propertynodelist>PropertyNodeList</dfn> : <a href=#nodelist>No
</dd>

<dt><var title="">propertyNodeList</var> = <var title="">collection</var> . <code title=dom-HTMLPropertiesCollection-namedItem><a href=#dom-htmlpropertiescollection-nameditem>namedItem</a></code>(<var title="">name</var>)</dt>
<dt><var title="">element</var> = <var title="">collection</var> . <code title=dom-HTMLCollection-item>item</code>(<var title="">name</var>)</dt>
<dd>
<p>Returns a <code><a href=#propertynodelist>PropertyNodeList</a></code> object containing any elements that add a property named <var title="">name</var>.</p>
</dd>
Expand Down Expand Up @@ -26665,12 +26667,13 @@ href="?audio"&gt;audio&lt;/a&gt; test instead.)&lt;/p&gt;</pre>
fired at the <code><a href=#the-iframe-element>iframe</a></code> element when it is created if no
other data is loaded in it.</p>

<p>When there is an <a href=#active-parser>active parser</a> in the
<code><a href=#the-iframe-element>iframe</a></code>, and when anything in the <code><a href=#the-iframe-element>iframe</a></code> is
<a href=#delay-the-load-event title="delay the load event">delaying the load event</a> of
the <code><a href=#the-iframe-element>iframe</a></code>'s <a href=#browsing-context>browsing context</a>'s
<a href=#active-document>active document</a>, the <code><a href=#the-iframe-element>iframe</a></code> must
<a href=#delay-the-load-event>delay the load event</a> of its document.</p>
<p>When the <code><a href=#the-iframe-element>iframe</a></code>'s <a href=#active-document>active document</a> is
not <a href=#ready-for-post-load-tasks>ready for post-load tasks</a>, and when anything in the
<code><a href=#the-iframe-element>iframe</a></code> is <a href=#delay-the-load-event title="delay the load event">delaying
the load event</a> of the <code><a href=#the-iframe-element>iframe</a></code>'s <a href=#browsing-context>browsing
context</a>'s <a href=#active-document>active document</a>, the
<code><a href=#the-iframe-element>iframe</a></code> must <a href=#delay-the-load-event>delay the load event</a> of its
document.</p>

<p class=note>If, during the handling of the <code title=event-load>load</code> event, the <a href=#browsing-context>browsing
context</a> in the <code><a href=#the-iframe-element>iframe</a></code> is again <a href=#navigate title=navigate>navigated</a>, that will further <a href=#delay-the-load-event>delay the
Expand Down
19 changes: 11 additions & 8 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -9152,8 +9152,7 @@ is conforming depends on which specs apply, and leaves it at that. -->
title="dom-document-all">document.all</code> attribute.</p>

<pre class="idl">interface <dfn>HTMLAllCollection</dfn> : <span>HTMLCollection</span> {
// inherits <span title="dom-HTMLCollection-length">length</span> and <span title="dom-HTMLCollection-item">item</span>(unsigned long index)
object? <span title="dom-HTMLAllCollection-item-string">item</span>(DOMString name);
// inherits <span title="dom-HTMLCollection-length">length</span> and <span title="dom-HTMLCollection-item">item</span>()
legacycaller getter object? <span title="dom-HTMLAllCollection-namedItem">namedItem</span>(DOMString name); // overrides inherited namedItem()
<span>HTMLAllCollection</span> <span title="dom-HTMLAllCollection-tags">tags</span>(DOMString tagName);
};</pre>
Expand Down Expand Up @@ -9298,6 +9297,7 @@ interface <dfn>RadioNodeList</dfn> : <span>NodeList</span> {

<dt><var title="">element</var> = <var title="">collection</var> . <code title="dom-HTMLFormControlsCollection-namedItem">namedItem</code>(<var title="">name</var>)</dt>
<dt><var title="">radioNodeList</var> = <var title="">collection</var> . <code title="dom-HTMLFormControlsCollection-namedItem">namedItem</code>(<var title="">name</var>)</dt>
<dt><var title="">element</var> = <var title="">collection</var> . <code title="dom-HTMLCollection-item">item</code>(<var title="">name</var>)</dt>
<dt><var title="">collection</var>[<var title="">name</var>]</dt>
<dt><var title="">collection</var>(<var title="">name</var>)</dt>
<dd>
Expand Down Expand Up @@ -9446,6 +9446,7 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20html%3E..

<dt><var title="">element</var> = <var title="">collection</var> . <code title="dom-HTMLOptionsCollection-namedItem">namedItem</code>(<var title="">name</var>)</dt>
<dt><var title="">nodeList</var> = <var title="">collection</var> . <code title="dom-HTMLOptionsCollection-namedItem">namedItem</code>(<var title="">name</var>)</dt>
<dt><var title="">element</var> = <var title="">collection</var> . <code title="dom-HTMLCollection-item">item</code>(<var title="">name</var>)</dt>
<dt><var title="">collection</var>[<var title="">name</var>]</dt>
<dt><var title="">collection</var>(<var title="">name</var>)</dt>
<dd>
Expand Down Expand Up @@ -9699,6 +9700,7 @@ interface <dfn>PropertyNodeList</dfn> : <span>NodeList</span> {
</dd>

<dt><var title="">propertyNodeList</var> = <var title="">collection</var> . <code title="dom-HTMLPropertiesCollection-namedItem">namedItem</code>(<var title="">name</var>)</dt>
<dt><var title="">element</var> = <var title="">collection</var> . <code title="dom-HTMLCollection-item">item</code>(<var title="">name</var>)</dt>
<dd>
<p>Returns a <code>PropertyNodeList</code> object containing any elements that add a property named <var title="">name</var>.</p>
</dd>
Expand Down Expand Up @@ -28731,12 +28733,13 @@ href="?audio">audio&lt;/a> test instead.)&lt;/p></pre>
fired at the <code>iframe</code> element when it is created if no
other data is loaded in it.</p>

<p>When there is an <span>active parser</span> in the
<code>iframe</code>, and when anything in the <code>iframe</code> is
<span title="delay the load event">delaying the load event</span> of
the <code>iframe</code>'s <span>browsing context</span>'s
<span>active document</span>, the <code>iframe</code> must
<span>delay the load event</span> of its document.</p>
<p>When the <code>iframe</code>'s <span>active document</span> is
not <span>ready for post-load tasks</span>, and when anything in the
<code>iframe</code> is <span title="delay the load event">delaying
the load event</span> of the <code>iframe</code>'s <span>browsing
context</span>'s <span>active document</span>, the
<code>iframe</code> must <span>delay the load event</span> of its
document.</p>

<p class="note">If, during the handling of the <code
title="event-load">load</code> event, the <span>browsing
Expand Down

0 comments on commit 3948449

Please sign in to comment.