[html5] r8271 - [e] (0) Use DOM's hooks for defining the magic 'load' event in The End Fixing ht [...]

whatwg at whatwg.org whatwg at whatwg.org
Tue Nov 12 13:44:21 PST 2013


Author: ianh
Date: 2013-11-12 13:44:19 -0800 (Tue, 12 Nov 2013)
New Revision: 8271

Modified:
   complete.html
   index
   source
Log:
[e] (0) Use DOM's hooks for defining the magic 'load' event in The End
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=23806
Affected topics: DOM APIs, HTML Syntax and Parsing

Modified: complete.html
===================================================================
--- complete.html	2013-11-12 21:36:52 UTC (rev 8270)
+++ complete.html	2013-11-12 21:44:19 UTC (rev 8271)
@@ -71502,7 +71502,7 @@
   <p><dfn id=fire-a-simple-event title="fire a simple event">Firing a simple event named <var title="">e</var></dfn> means
   that a <a href=#concept-events-trusted title=concept-events-trusted>trusted</a> event with the name <var title="">e</var>, which does not bubble (except where otherwise stated) and is not cancelable
   (except where otherwise stated), and which uses the <code><a href=#event>Event</a></code> interface, must be created
-  and dispatched at the given target.</p>
+  and <a href=#concept-event-dispatch title=concept-event-dispatch>dispatched</a> at the given target.</p>
 
   <p><dfn id=fire-a-synthetic-mouse-event title="fire a synthetic mouse event">Firing a synthetic mouse event named <var title="">e</var></dfn> means that an event with the name <var title="">e</var>, which is <a href=#concept-events-trusted title=concept-events-trusted>trusted</a> (except where otherwise stated), does not bubble
   (except where otherwise stated), is not cancelable (except where otherwise stated), and which uses
@@ -91625,11 +91625,10 @@
     <ol><li><p>Set the <a href=#current-document-readiness>current document readiness</a> to "<code title="">complete</code>"<!--
      this also fires an event synchronously during the task -->.</li>
 
-     <li><p>If the <code><a href=#document>Document</a></code> is in a <a href=#browsing-context>browsing context</a>, <a href=#fire-a-simple-event>fire a simple
-     event</a> named <code title=event-load>load</code> at the <code><a href=#document>Document</a></code>'s
-     <code><a href=#window>Window</a></code> object, but with its <code title=dom-event-target><a href=#dom-event-target>target</a></code> set to
-     the <code><a href=#document>Document</a></code> object (and the <code title=dom-event-currentTarget>currentTarget</code> set to the <code><a href=#window>Window</a></code>
-     object).</li>
+     <li><p>If the <code><a href=#document>Document</a></code> is in a <a href=#browsing-context>browsing context</a>, create a <a href=#concept-events-trusted title=concept-events-trusted>trusted</a> event named <code title=event-load>load</code> that does not bubble and is not cancelable and which uses the
+     <code><a href=#event>Event</a></code> interface, and <a href=#concept-event-dispatch title=concept-event-dispatch>dispatch it at
+     the <code>Document</code>'s <code>Window</code> object, with <i>target override</i> set to the
+     <code>Document</code> object.</a></li>
 
     </ol></li>
 

Modified: index
===================================================================
--- index	2013-11-12 21:36:52 UTC (rev 8270)
+++ index	2013-11-12 21:44:19 UTC (rev 8271)
@@ -71502,7 +71502,7 @@
   <p><dfn id=fire-a-simple-event title="fire a simple event">Firing a simple event named <var title="">e</var></dfn> means
   that a <a href=#concept-events-trusted title=concept-events-trusted>trusted</a> event with the name <var title="">e</var>, which does not bubble (except where otherwise stated) and is not cancelable
   (except where otherwise stated), and which uses the <code><a href=#event>Event</a></code> interface, must be created
-  and dispatched at the given target.</p>
+  and <a href=#concept-event-dispatch title=concept-event-dispatch>dispatched</a> at the given target.</p>
 
   <p><dfn id=fire-a-synthetic-mouse-event title="fire a synthetic mouse event">Firing a synthetic mouse event named <var title="">e</var></dfn> means that an event with the name <var title="">e</var>, which is <a href=#concept-events-trusted title=concept-events-trusted>trusted</a> (except where otherwise stated), does not bubble
   (except where otherwise stated), is not cancelable (except where otherwise stated), and which uses
@@ -91625,11 +91625,10 @@
     <ol><li><p>Set the <a href=#current-document-readiness>current document readiness</a> to "<code title="">complete</code>"<!--
      this also fires an event synchronously during the task -->.</li>
 
-     <li><p>If the <code><a href=#document>Document</a></code> is in a <a href=#browsing-context>browsing context</a>, <a href=#fire-a-simple-event>fire a simple
-     event</a> named <code title=event-load>load</code> at the <code><a href=#document>Document</a></code>'s
-     <code><a href=#window>Window</a></code> object, but with its <code title=dom-event-target><a href=#dom-event-target>target</a></code> set to
-     the <code><a href=#document>Document</a></code> object (and the <code title=dom-event-currentTarget>currentTarget</code> set to the <code><a href=#window>Window</a></code>
-     object).</li>
+     <li><p>If the <code><a href=#document>Document</a></code> is in a <a href=#browsing-context>browsing context</a>, create a <a href=#concept-events-trusted title=concept-events-trusted>trusted</a> event named <code title=event-load>load</code> that does not bubble and is not cancelable and which uses the
+     <code><a href=#event>Event</a></code> interface, and <a href=#concept-event-dispatch title=concept-event-dispatch>dispatch it at
+     the <code>Document</code>'s <code>Window</code> object, with <i>target override</i> set to the
+     <code>Document</code> object.</a></li>
 
     </ol></li>
 

Modified: source
===================================================================
--- source	2013-11-12 21:36:52 UTC (rev 8270)
+++ source	2013-11-12 21:44:19 UTC (rev 8271)
@@ -79863,7 +79863,7 @@
   that a <span data-x="concept-events-trusted">trusted</span> event with the name <var
   data-x="">e</var>, which does not bubble (except where otherwise stated) and is not cancelable
   (except where otherwise stated), and which uses the <code>Event</code> interface, must be created
-  and dispatched at the given target.</p>
+  and <span data-x="concept-event-dispatch">dispatched</span> at the given target.</p>
 
   <p><dfn data-x="fire a synthetic mouse event">Firing a synthetic mouse event named <var
   data-x="">e</var></dfn> means that an event with the name <var data-x="">e</var>, which is <span
@@ -102016,12 +102016,12 @@
      <li><p>Set the <span>current document readiness</span> to "<code data-x="">complete</code>"<!--
      this also fires an event synchronously during the task -->.</p></li>
 
-     <li><p>If the <code>Document</code> is in a <span>browsing context</span>, <span>fire a simple
-     event</span> named <code data-x="event-load">load</code> at the <code>Document</code>'s
-     <code>Window</code> object, but with its <code data-x="dom-event-target">target</code> set to
-     the <code>Document</code> object (and the <code
-     data-x="dom-event-currentTarget">currentTarget</code> set to the <code>Window</code>
-     object).</p></li>
+     <li><p>If the <code>Document</code> is in a <span>browsing context</span>, create a <span
+     data-x="concept-events-trusted">trusted</span> event named <code
+     data-x="event-load">load</code> that does not bubble and is not cancelable and which uses the
+     <code>Event</code> interface, and <span data-x="concept-event-dispatch">dispatch</soan> it at
+     the <code>Document</code>'s <code>Window</code> object, with <i>target override</i> set to the
+     <code>Document</code> object.</p></li>
 
     </ol>
 




More information about the Commit-Watchers mailing list