- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 29 Sep 2009 10:27:31 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec In directory hutz:/tmp/cvs-serv24490 Modified Files: Overview.html Log Message: Removing an event handler content attribute needs to clear out the event handler. (whatwg r4050) Index: Overview.html =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.3211 retrieving revision 1.3212 diff -u -d -r1.3211 -r1.3212 --- Overview.html 29 Sep 2009 10:13:09 -0000 1.3211 +++ Overview.html 29 Sep 2009 10:27:27 -0000 1.3212 @@ -45420,17 +45420,20 @@ <li><p>Set the corresponding <a href="#event-handlers" title="event handlers">event handler</a> to the aforementioned function.</li> - </ol></div><p class="note">When an <a href="#event-handler-content-attributes" title="event handler content + </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 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"> + not changed.</p><!-- v2: we should probably support HTML4's Content-Script-Type header here. --><div class="impl"> <hr><p>All <a href="#event-handlers">event handlers</a> on an element, whether set to null or to a <code><a href="#function">Function</a></code> object, must be registered
Received on Tuesday, 29 September 2009 10:27:40 UTC