[html5] r4050 - [giow] (2) Removing an event handler content attribute needs to clear out the ev [...]

whatwg at whatwg.org whatwg at whatwg.org
Tue Sep 29 03:35:49 PDT 2009


Author: ianh
Date: 2009-09-29 03:35:48 -0700 (Tue, 29 Sep 2009)
New Revision: 4050

Modified:
   index
   source
Log:
[giow] (2) Removing an event handler content attribute needs to clear out the event handler.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=7626

Modified: index
===================================================================
--- index	2009-09-29 10:21:28 UTC (rev 4049)
+++ index	2009-09-29 10:35:48 UTC (rev 4050)
@@ -50443,22 +50443,23 @@
    <li><p>Set the corresponding <a href=#event-handlers title="event handlers">event
    handler</a> to the aforementioned function.</li>
 
-  </ol></div>
+  </ol><p>When an event handler content attribute is removed, the user
+  agent must set the corresponding <a href=#event-handlers title="event handlers">event
+  handler</a> to null.</p>
+  <!--
+  http://software.hixie.ch/utilities/js/live-dom-viewer/saved/245 onload
+  http://software.hixie.ch/utilities/js/live-dom-viewer/saved/247 onclick
+  see http://www.w3.org/Bugs/Public/show_bug.cgi?id=7626#c5 for reasoning
+  -->
 
+  </div>
+
   <p class=note>When an <a href=#event-handler-content-attributes title="event handler content
   attributes">event handler content attribute</a> is set on an
   element owned by a <code>Document</code> that is not in a
   <a href=#browsing-context>browsing context</a>, the corresponding event handler is
   not changed.</p>
 
-  <p class=note>Removing an <a href=#event-handler-content-attributes title="event handler content
-  attributes">event handler content attribute</a> does not reset
-  the corresponding <a href=#event-handlers title="event handlers">event
-  handler</a>.</p> <!--
-  http://software.hixie.ch/utilities/js/live-dom-viewer/saved/245 onload
-  http://software.hixie.ch/utilities/js/live-dom-viewer/saved/247 onclick
-  -->
-
   <!-- v2: we should probably support HTML4's Content-Script-Type header here. -->
 
   <div class=impl>

Modified: source
===================================================================
--- source	2009-09-29 10:21:28 UTC (rev 4049)
+++ source	2009-09-29 10:35:48 UTC (rev 4050)
@@ -56970,6 +56970,15 @@
 
   </ol>
 
+  <p>When an event handler content attribute is removed, the user
+  agent must set the corresponding <span title="event handlers">event
+  handler</span> to null.</p>
+  <!--
+  http://software.hixie.ch/utilities/js/live-dom-viewer/saved/245 onload
+  http://software.hixie.ch/utilities/js/live-dom-viewer/saved/247 onclick
+  see http://www.w3.org/Bugs/Public/show_bug.cgi?id=7626#c5 for reasoning
+  -->
+
   </div>
 
   <p class="note">When an <span title="event handler content
@@ -56978,14 +56987,6 @@
   <span>browsing context</span>, the corresponding event handler is
   not changed.</p>
 
-  <p class="note">Removing an <span title="event handler content
-  attributes">event handler content attribute</span> does not reset
-  the corresponding <span title="event handlers">event
-  handler</span>.</p> <!--
-  http://software.hixie.ch/utilities/js/live-dom-viewer/saved/245 onload
-  http://software.hixie.ch/utilities/js/live-dom-viewer/saved/247 onclick
-  -->
-
   <!-- v2: we should probably support HTML4's Content-Script-Type header here. -->
 
   <div class="impl">




More information about the Commit-Watchers mailing list