[html5] r7713 - [e] (0) Factor out a common step. Fixing https://www.w3.org/Bugs/Public/show_bug [...]

whatwg at whatwg.org whatwg at whatwg.org
Sat Feb 9 13:08:34 PST 2013


Author: ianh
Date: 2013-02-09 13:08:33 -0800 (Sat, 09 Feb 2013)
New Revision: 7713

Modified:
   complete.html
   index
   source
Log:
[e] (0) Factor out a common step.
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=17231
Affected topics: HTML

Modified: complete.html
===================================================================
--- complete.html	2013-02-09 06:12:32 UTC (rev 7712)
+++ complete.html	2013-02-09 21:08:33 UTC (rev 7713)
@@ -24124,7 +24124,7 @@
 
    <dd>
 
-    <p><a href=#queue-a-task>Queue a task</a> to <a href=#fire-a-simple-event>fire a simple event</a> named <code title=event-load>load</code> at the <code><a href=#the-iframe-element>iframe</a></code> element.</p>
+    <p><a href=#queue-a-task>Queue a task</a> to run the <a href=#iframe-load-event-steps>iframe load event steps</a>.</p>
 
    </dd>
 
@@ -24182,10 +24182,16 @@
   location.assign() method -->
 
   <p>When a <code><a href=#document>Document</a></code> in an <code><a href=#the-iframe-element>iframe</a></code> is marked as <a href=#completely-loaded>completely
-  loaded</a>, the user agent must synchronously <a href=#fire-a-simple-event>fire a simple event</a> named <code title=event-load>load</code> at the <code><a href=#the-iframe-element>iframe</a></code> element. When content whose
-  <a href=#url>URL</a> has the <a href=#same-origin>same origin</a> as the <code><a href=#the-iframe-element>iframe</a></code> element's
-  <code><a href=#document>Document</a></code> fails to load (e.g. due to a DNS error, network error, or if the server
-  returned a 4xx or 5xx status code <a href=#concept-http-equivalent-codes title=concept-http-equivalent-codes>or
+  loaded</a>, the user agent must synchronously run the <a href=#iframe-load-event-steps>iframe load event steps</a>.</p>
+
+  <p>The <dfn id=iframe-load-event-steps>iframe load event steps</dfn> are as follows:</p>
+
+  <ol><li><p><a href=#fire-a-simple-event>Fire a simple event</a> named <code title=event-load>load</code> at the
+   <code><a href=#the-iframe-element>iframe</a></code> element.</li>
+
+  </ol><p>When content whose <a href=#url>URL</a> has the <a href=#same-origin>same origin</a> as the <code><a href=#the-iframe-element>iframe</a></code>
+  element's <code><a href=#document>Document</a></code> fails to load (e.g. due to a DNS error, network error, or if the
+  server returned a 4xx or 5xx status code <a href=#concept-http-equivalent-codes title=concept-http-equivalent-codes>or
   equivalent</a>), then the user agent must <a href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire a simple
   event</a> named <code title=event-error>error</code> at the element instead. (This event does
   not fire for <a href=#parse-error title="parse error">parse errors</a>, script errors, or any errors for

Modified: index
===================================================================
--- index	2013-02-09 06:12:32 UTC (rev 7712)
+++ index	2013-02-09 21:08:33 UTC (rev 7713)
@@ -24124,7 +24124,7 @@
 
    <dd>
 
-    <p><a href=#queue-a-task>Queue a task</a> to <a href=#fire-a-simple-event>fire a simple event</a> named <code title=event-load>load</code> at the <code><a href=#the-iframe-element>iframe</a></code> element.</p>
+    <p><a href=#queue-a-task>Queue a task</a> to run the <a href=#iframe-load-event-steps>iframe load event steps</a>.</p>
 
    </dd>
 
@@ -24182,10 +24182,16 @@
   location.assign() method -->
 
   <p>When a <code><a href=#document>Document</a></code> in an <code><a href=#the-iframe-element>iframe</a></code> is marked as <a href=#completely-loaded>completely
-  loaded</a>, the user agent must synchronously <a href=#fire-a-simple-event>fire a simple event</a> named <code title=event-load>load</code> at the <code><a href=#the-iframe-element>iframe</a></code> element. When content whose
-  <a href=#url>URL</a> has the <a href=#same-origin>same origin</a> as the <code><a href=#the-iframe-element>iframe</a></code> element's
-  <code><a href=#document>Document</a></code> fails to load (e.g. due to a DNS error, network error, or if the server
-  returned a 4xx or 5xx status code <a href=#concept-http-equivalent-codes title=concept-http-equivalent-codes>or
+  loaded</a>, the user agent must synchronously run the <a href=#iframe-load-event-steps>iframe load event steps</a>.</p>
+
+  <p>The <dfn id=iframe-load-event-steps>iframe load event steps</dfn> are as follows:</p>
+
+  <ol><li><p><a href=#fire-a-simple-event>Fire a simple event</a> named <code title=event-load>load</code> at the
+   <code><a href=#the-iframe-element>iframe</a></code> element.</li>
+
+  </ol><p>When content whose <a href=#url>URL</a> has the <a href=#same-origin>same origin</a> as the <code><a href=#the-iframe-element>iframe</a></code>
+  element's <code><a href=#document>Document</a></code> fails to load (e.g. due to a DNS error, network error, or if the
+  server returned a 4xx or 5xx status code <a href=#concept-http-equivalent-codes title=concept-http-equivalent-codes>or
   equivalent</a>), then the user agent must <a href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire a simple
   event</a> named <code title=event-error>error</code> at the element instead. (This event does
   not fire for <a href=#parse-error title="parse error">parse errors</a>, script errors, or any errors for

Modified: source
===================================================================
--- source	2013-02-09 06:12:32 UTC (rev 7712)
+++ source	2013-02-09 21:08:33 UTC (rev 7713)
@@ -25574,8 +25574,7 @@
 
    <dd>
 
-    <p><span>Queue a task</span> to <span>fire a simple event</span> named <code
-    title="event-load">load</code> at the <code>iframe</code> element.</p>
+    <p><span>Queue a task</span> to run the <span>iframe load event steps</span>.</p>
 
    </dd>
 
@@ -25642,11 +25641,20 @@
   location.assign() method -->
 
   <p>When a <code>Document</code> in an <code>iframe</code> is marked as <span>completely
-  loaded</span>, the user agent must synchronously <span>fire a simple event</span> named <code
-  title="event-load">load</code> at the <code>iframe</code> element. When content whose
-  <span>URL</span> has the <span>same origin</span> as the <code>iframe</code> element's
-  <code>Document</code> fails to load (e.g. due to a DNS error, network error, or if the server
-  returned a 4xx or 5xx status code <span title="concept-http-equivalent-codes">or
+  loaded</span>, the user agent must synchronously run the <span>iframe load event steps</span>.</p>
+
+  <p>The <dfn>iframe load event steps</dfn> are as follows:</p>
+
+  <ol>
+
+   <li><p><span>Fire a simple event</span> named <code title="event-load">load</code> at the
+   <code>iframe</code> element.</p></li>
+
+  </ol>
+
+  <p>When content whose <span>URL</span> has the <span>same origin</span> as the <code>iframe</code>
+  element's <code>Document</code> fails to load (e.g. due to a DNS error, network error, or if the
+  server returned a 4xx or 5xx status code <span title="concept-http-equivalent-codes">or
   equivalent</span>), then the user agent must <span>queue a task</span> to <span>fire a simple
   event</span> named <code title="event-error">error</code> at the element instead. (This event does
   not fire for <span title="parse error">parse errors</span>, script errors, or any errors for




More information about the Commit-Watchers mailing list