[html5] r8377 - [giow] (3) Clean up how <object> fires load events. (This is not complete. See b [...]

whatwg at whatwg.org whatwg at whatwg.org
Mon Jan 6 15:06:24 PST 2014


Author: ianh
Date: 2014-01-06 15:06:23 -0800 (Mon, 06 Jan 2014)
New Revision: 8377

Modified:
   complete.html
   index
   source
Log:
[giow] (3) Clean up how <object> fires load events. (This is not complete. See bug 24214 for more that needs doing here.)
Affected topics: HTML

Modified: complete.html
===================================================================
--- complete.html	2014-01-06 22:10:38 UTC (rev 8376)
+++ complete.html	2014-01-06 23:06:23 UTC (rev 8377)
@@ -24281,12 +24281,10 @@
 
      <li>
 
-      <p>Once the resource is completely loaded, <a href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire a simple
+      <!--CLEANUP-->
+      <p>Abort these steps. Once the resource is completely loaded, <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 element.</p>
 
-      <p>The <a href=#task-source>task source</a> for this task<!--tasks mentioned in this section--> is the
-      <a href=#dom-manipulation-task-source>DOM manipulation task source</a>.</p>
-
      </li>
 
     </ol></li>
@@ -24294,7 +24292,9 @@
    <li><p>If the <code title=attr-object-data><a href=#attr-object-data>data</a></code> attribute is absent but the <code title=attr-object-type><a href=#attr-object-type>type</a></code> attribute is present, and the user agent can find a
    <a href=#plugin>plugin</a> suitable according to the value of the <code title=attr-object-type><a href=#attr-object-type>type</a></code> attribute, and either <a href=#sandboxPluginObject>plugins
    aren't being sandboxed</a> or the <a href=#plugin>plugin</a> can be <a href=#concept-plugin-secure title=concept-plugin-secure>secured</a>, then that <a href=#plugin>plugin</a> <a href=#object-plugin>should be used</a>. If these conditions cannot be met, or if the
-   <a href=#plugin>plugin</a> reports an error, jump to the step below labeled <i>fallback</i>.</li>
+   <a href=#plugin>plugin</a> reports an error, jump to the step below labeled <i>fallback</i>. Otherwise
+   abort these steps; once the plugin is completely loaded, <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 element.</li>
 
    <li><p><i>Fallback</i>: The <code><a href=#the-object-element>object</a></code> element <a href=#represents>represents</a> the element's
    children, ignoring any leading <code><a href=#the-param-element>param</a></code> element children. This is the element's
@@ -24323,6 +24323,9 @@
   targeting multiple user agents with different capabilities, with the user agent picking the first
   one it supports.</p>
 
+  <p>The <a href=#task-source>task source</a> for the <a href=#concept-task title=concept-task>tasks</a> mentioned in this
+  section is the <a href=#dom-manipulation-task-source>DOM manipulation task source</a>.</p>
+
   <p>Whenever the <code title=attr-object-name><a href=#attr-object-name>name</a></code> attribute is set, if the
   <code><a href=#the-object-element>object</a></code> element has a nested <a href=#browsing-context>browsing context</a>, its <a href=#browsing-context-name title="browsing
   context name">name</a> must be changed to the new value. If the attribute is removed, if the

Modified: index
===================================================================
--- index	2014-01-06 22:10:38 UTC (rev 8376)
+++ index	2014-01-06 23:06:23 UTC (rev 8377)
@@ -24281,12 +24281,10 @@
 
      <li>
 
-      <p>Once the resource is completely loaded, <a href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire a simple
+      <!--CLEANUP-->
+      <p>Abort these steps. Once the resource is completely loaded, <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 element.</p>
 
-      <p>The <a href=#task-source>task source</a> for this task<!--tasks mentioned in this section--> is the
-      <a href=#dom-manipulation-task-source>DOM manipulation task source</a>.</p>
-
      </li>
 
     </ol></li>
@@ -24294,7 +24292,9 @@
    <li><p>If the <code title=attr-object-data><a href=#attr-object-data>data</a></code> attribute is absent but the <code title=attr-object-type><a href=#attr-object-type>type</a></code> attribute is present, and the user agent can find a
    <a href=#plugin>plugin</a> suitable according to the value of the <code title=attr-object-type><a href=#attr-object-type>type</a></code> attribute, and either <a href=#sandboxPluginObject>plugins
    aren't being sandboxed</a> or the <a href=#plugin>plugin</a> can be <a href=#concept-plugin-secure title=concept-plugin-secure>secured</a>, then that <a href=#plugin>plugin</a> <a href=#object-plugin>should be used</a>. If these conditions cannot be met, or if the
-   <a href=#plugin>plugin</a> reports an error, jump to the step below labeled <i>fallback</i>.</li>
+   <a href=#plugin>plugin</a> reports an error, jump to the step below labeled <i>fallback</i>. Otherwise
+   abort these steps; once the plugin is completely loaded, <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 element.</li>
 
    <li><p><i>Fallback</i>: The <code><a href=#the-object-element>object</a></code> element <a href=#represents>represents</a> the element's
    children, ignoring any leading <code><a href=#the-param-element>param</a></code> element children. This is the element's
@@ -24323,6 +24323,9 @@
   targeting multiple user agents with different capabilities, with the user agent picking the first
   one it supports.</p>
 
+  <p>The <a href=#task-source>task source</a> for the <a href=#concept-task title=concept-task>tasks</a> mentioned in this
+  section is the <a href=#dom-manipulation-task-source>DOM manipulation task source</a>.</p>
+
   <p>Whenever the <code title=attr-object-name><a href=#attr-object-name>name</a></code> attribute is set, if the
   <code><a href=#the-object-element>object</a></code> element has a nested <a href=#browsing-context>browsing context</a>, its <a href=#browsing-context-name title="browsing
   context name">name</a> must be changed to the new value. If the attribute is removed, if the

Modified: source
===================================================================
--- source	2014-01-06 22:10:38 UTC (rev 8376)
+++ source	2014-01-06 23:06:23 UTC (rev 8377)
@@ -25655,12 +25655,10 @@
 
      <li>
 
-      <p>Once the resource is completely loaded, <span>queue a task</span> to <span>fire a simple
+      <!--CLEANUP-->
+      <p>Abort these steps. Once the resource is completely loaded, <span>queue a task</span> to <span>fire a simple
       event</span> named <code data-x="event-load">load</code> at the element.</p>
 
-      <p>The <span>task source</span> for this task<!--tasks mentioned in this section--> is the
-      <span>DOM manipulation task source</span>.</p>
-
      </li>
 
     </ol>
@@ -25674,7 +25672,9 @@
    aren't being sandboxed</a> or the <span>plugin</span> can be <span
    data-x="concept-plugin-secure">secured</span>, then that <span>plugin</span> <a
    href="#object-plugin">should be used</a>. If these conditions cannot be met, or if the
-   <span>plugin</span> reports an error, jump to the step below labeled <i>fallback</i>.</p></li>
+   <span>plugin</span> reports an error, jump to the step below labeled <i>fallback</i>. Otherwise
+   abort these steps; once the plugin is completely loaded, <span>queue a task</span> to <span>fire
+   a simple event</span> named <code data-x="event-load">load</code> at the element.</p></li>
 
    <li><p><i>Fallback</i>: The <code>object</code> element <span>represents</span> the element's
    children, ignoring any leading <code>param</code> element children. This is the element's
@@ -25705,6 +25705,9 @@
   targeting multiple user agents with different capabilities, with the user agent picking the first
   one it supports.</p>
 
+  <p>The <span>task source</span> for the <span data-x="concept-task">tasks</span> mentioned in this
+  section is the <span>DOM manipulation task source</span>.</p>
+
   <p>Whenever the <code data-x="attr-object-name">name</code> attribute is set, if the
   <code>object</code> element has a nested <span>browsing context</span>, its <span data-x="browsing
   context name">name</span> must be changed to the new value. If the attribute is removed, if the




More information about the Commit-Watchers mailing list