Skip to content
Permalink
Browse files

[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

git-svn-id: http://svn.whatwg.org/webapps@4050 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information...
Hixie committed Sep 29, 2009
1 parent dee5c11 commit c9b5d6142a6c242e6cf875e618d02cf6d78eb588
Showing with 19 additions and 17 deletions.
  1. +10 −9 index
  2. +9 −8 source
19 index
<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>
17 source

</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
<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">

0 comments on commit c9b5d61

Please sign in to comment.
You can’t perform that action at this time.