[giow] (3) Clean up how <object> fires load events. (This is not comp…
…lete. See bug 24214 for more that needs doing here.)
Affected topics: HTML
git-svn-id: http://svn.whatwg.org/webapps@8377 340c8d12-0b0e-0410-8428-c7bf67bfef74
<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
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
<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
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
0 comments on commit
92e67b5