[html5] r7320 - [giow] (0) Update HTMLCollection section in preparation for bug 18784; fix ifram [...]

whatwg at whatwg.org whatwg at whatwg.org
Wed Sep 5 14:01:19 PDT 2012


Author: ianh
Date: 2012-09-05 14:01:12 -0700 (Wed, 05 Sep 2012)
New Revision: 7320

Modified:
   complete.html
   index
   source
Log:
[giow] (0) Update HTMLCollection section in preparation for bug 18784; fix iframe load event delay for bug 17680.
Affected topics: DOM APIs, HTML, Microdata

Modified: complete.html
===================================================================
--- complete.html	2012-09-05 18:12:04 UTC (rev 7319)
+++ complete.html	2012-09-05 21:01:12 UTC (rev 7320)
@@ -9138,8 +9138,7 @@
   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>
@@ -9263,6 +9262,7 @@
 
    <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>
@@ -9381,6 +9381,7 @@
 
    <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>
@@ -9577,6 +9578,7 @@
    </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>
@@ -26665,12 +26667,13 @@
   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

Modified: index
===================================================================
--- index	2012-09-05 18:12:04 UTC (rev 7319)
+++ index	2012-09-05 21:01:12 UTC (rev 7320)
@@ -9138,8 +9138,7 @@
   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>
@@ -9263,6 +9262,7 @@
 
    <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>
@@ -9381,6 +9381,7 @@
 
    <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>
@@ -9577,6 +9578,7 @@
    </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>
@@ -26665,12 +26667,13 @@
   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

Modified: source
===================================================================
--- source	2012-09-05 18:12:04 UTC (rev 7319)
+++ source	2012-09-05 21:01:12 UTC (rev 7320)
@@ -9152,8 +9152,7 @@
   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>
@@ -9298,6 +9297,7 @@
 
    <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>
@@ -9446,6 +9446,7 @@
 
    <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>
@@ -9699,6 +9700,7 @@
    </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>
@@ -28731,12 +28733,13 @@
   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




More information about the Commit-Watchers mailing list