[html5] r6964 - [giow] (1) Add beforescriptexecute and afterscriptexecute events to <script>. Af [...]

whatwg at whatwg.org whatwg at whatwg.org
Fri Feb 3 22:39:37 PST 2012


Author: ianh
Date: 2012-02-03 22:39:35 -0800 (Fri, 03 Feb 2012)
New Revision: 6964

Modified:
   complete.html
   index
   source
Log:
[giow] (1) Add beforescriptexecute and afterscriptexecute events to <script>.
Affected topics: HTML

Modified: complete.html
===================================================================
--- complete.html	2012-02-03 20:27:00 UTC (rev 6963)
+++ complete.html	2012-02-04 06:39:35 UTC (rev 6964)
@@ -240,7 +240,7 @@
 
   <header class=head id=head><p><a class=logo href=http://www.whatwg.org/><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
    <hgroup><h1 class=allcaps>HTML</h1>
-    <h2 class="no-num no-toc">Living Standard — Last Updated 3 February 2012</h2>
+    <h2 class="no-num no-toc">Living Standard — Last Updated 4 February 2012</h2>
    </hgroup><dl><dt><strong>Web developer edition:</strong></dt>
     <dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
     <dt>Multiple-page version:</dt>
@@ -16710,6 +16710,16 @@
 
        <li>
 
+        <p><a href=#fire-a-simple-event>Fire a simple event</a> named <code title=event-beforescriptexecute>beforescriptexecute</code>
+        that bubbles and is cancelable at the <code><a href=#the-script-element>script</a></code>
+        element.</p>
+
+        <p>If the event is canceled, then abort these steps.</p>
+
+       </li>
+
+       <li>
+
         <p>If the script is from an external file, then increment the
         <a href=#ignore-destructive-writes-counter>ignore-destructive-writes counter</a> of the
         <code><a href=#the-script-element>script</a></code> element's <code><a href=#document>Document</a></code>. Let <var title="">neutralized doc</var> be that
@@ -16740,6 +16750,14 @@
 
        <li>
 
+        <p><a href=#fire-a-simple-event>Fire a simple event</a> named <code title=event-afterscriptexecute>afterscriptexecute</code>
+        that bubbles (but is not cancelable) at the
+        <code><a href=#the-script-element>script</a></code> element.</p>
+
+       </li>
+
+       <li>
+
         <p>If the script is from an external file, <a href=#fire-a-simple-event>fire a simple
         event</a> named <code title=event-load>load</code> at the
         <code><a href=#the-script-element>script</a></code> element.</p>

Modified: index
===================================================================
--- index	2012-02-03 20:27:00 UTC (rev 6963)
+++ index	2012-02-04 06:39:35 UTC (rev 6964)
@@ -240,7 +240,7 @@
 
   <header class=head id=head><p><a class=logo href=http://www.whatwg.org/><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
    <hgroup><h1 class=allcaps>HTML</h1>
-    <h2 class="no-num no-toc">Living Standard — Last Updated 3 February 2012</h2>
+    <h2 class="no-num no-toc">Living Standard — Last Updated 4 February 2012</h2>
    </hgroup><dl><dt><strong>Web developer edition:</strong></dt>
     <dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
     <dt>Multiple-page version:</dt>
@@ -16710,6 +16710,16 @@
 
        <li>
 
+        <p><a href=#fire-a-simple-event>Fire a simple event</a> named <code title=event-beforescriptexecute>beforescriptexecute</code>
+        that bubbles and is cancelable at the <code><a href=#the-script-element>script</a></code>
+        element.</p>
+
+        <p>If the event is canceled, then abort these steps.</p>
+
+       </li>
+
+       <li>
+
         <p>If the script is from an external file, then increment the
         <a href=#ignore-destructive-writes-counter>ignore-destructive-writes counter</a> of the
         <code><a href=#the-script-element>script</a></code> element's <code><a href=#document>Document</a></code>. Let <var title="">neutralized doc</var> be that
@@ -16740,6 +16750,14 @@
 
        <li>
 
+        <p><a href=#fire-a-simple-event>Fire a simple event</a> named <code title=event-afterscriptexecute>afterscriptexecute</code>
+        that bubbles (but is not cancelable) at the
+        <code><a href=#the-script-element>script</a></code> element.</p>
+
+       </li>
+
+       <li>
+
         <p>If the script is from an external file, <a href=#fire-a-simple-event>fire a simple
         event</a> named <code title=event-load>load</code> at the
         <code><a href=#the-script-element>script</a></code> element.</p>

Modified: source
===================================================================
--- source	2012-02-03 20:27:00 UTC (rev 6963)
+++ source	2012-02-04 06:39:35 UTC (rev 6964)
@@ -17913,6 +17913,17 @@
 
        <li>
 
+        <p><span>Fire a simple event</span> named <code
+        title="event-beforescriptexecute">beforescriptexecute</code>
+        that bubbles and is cancelable at the <code>script</code>
+        element.</p>
+
+        <p>If the event is canceled, then abort these steps.</p>
+
+       </li>
+
+       <li>
+
         <p>If the script is from an external file, then increment the
         <span>ignore-destructive-writes counter</span> of the
         <code>script</code> element's <code>Document</code>. Let <var
@@ -17944,6 +17955,15 @@
 
        <li>
 
+        <p><span>Fire a simple event</span> named <code
+        title="event-afterscriptexecute">afterscriptexecute</code>
+        that bubbles (but is not cancelable) at the
+        <code>script</code> element.</p>
+
+       </li>
+
+       <li>
+
         <p>If the script is from an external file, <span>fire a simple
         event</span> named <code title="event-load">load</code> at the
         <code>script</code> element.</p>




More information about the Commit-Watchers mailing list