- From: poot <cvsmail@w3.org>
- Date: Sun, 28 Dec 2008 21:21:53 +0900 (JST)
- To: public-html-diffs@w3.org
remove obsolete issue note (whatwg r2603) 5.4.6.1 Event handler attributes http://people.w3.org/mike/diffs/html5/spec/Overview.1.1774.html#event-handler-attributes 5.4.5 The javascript: protocol http://people.w3.org/mike/diffs/html5/spec/Overview.1.1774.html#javascript-protocol 5.4.6 Events http://people.w3.org/mike/diffs/html5/spec/Overview.1.1774.html#events http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1773&r2=1.1774&f=h http://html5.org/tools/web-apps-tracker?from=2602&to=2603 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.1773 retrieving revision 1.1774 diff -u -d -r1.1773 -r1.1774 --- Overview.html 28 Dec 2008 12:06:08 -0000 1.1773 +++ Overview.html 28 Dec 2008 12:18:55 -0000 1.1774 @@ -27992,14 +27992,7 @@ </div><p class=note>The rules for <a href=#create-a-script title="create a script">creating a script</a> include making the script not execute (and just return void) in certain cases, e.g. in a sandbox or when the user - has disabled scripting altogether.<h4 id=events><span class=secno>5.4.6 </span>Events</h4><p class=XXX>We need to define how to handle events that are - to be fired on a Document that is no longer the active document of - its browsing context, and for Documents that have no browsing - context. Do the events fire? Do the handlers in that document not - fire? Do we just define scripting to be disabled when the document - isn't active, with events still running as is? See also the - <code><a href=#script>script</a></code> element section, which says scripts don't run - when the document isn't active.<h5 id=event-handler-attributes><span class=secno>5.4.6.1 </span>Event handler attributes</h5><!-- http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C!DOCTYPE%20html%3E%0A...%3Cscript%3E%0Aw(a%3Ddocument.implementation.createDocument(null%2C%20null%2C%20null))%3B%0Aw(a.appendChild(a.createElementNS('http%3A%2F%2Fwww.w3.org%2F1999%2Fxhtml'%2C%20'html')))%3B%0Aw(b%3Da.firstChild.appendChild(a.createElementNS('http%3A%2F%2Fwww.w3.org%2F1999%2Fxhtml'%2C%20'body')))%3B%0Aw(b.test%20%3D%20w)%3B%0Aw(b.setAttribute('onclick'%2C%20'test(%22fire%3A%20%22%20%2B%20event)'))%3B%0Aw(b.onclick)%3B%0Aw(e%3Da.createEvent('Event'))%3B%0Aw(e.initEvent('click'%2C%20false%2C%20false))%3B%0Aw(b.dispatchEvent(e))%3B%0A%3C%2Fscript%3E --><p>Many objects can have <dfn id=event-handler-attributes-0>event handler attributes</dfn> + has disabled scripting altogether.<h4 id=events><span class=secno>5.4.6 </span>Events</h4><h5 id=event-handler-attributes><span class=secno>5.4.6.1 </span>Event handler attributes</h5><!-- http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C!DOCTYPE%20html%3E%0A...%3Cscript%3E%0Aw(a%3Ddocument.implementation.createDocument(null%2C%20null%2C%20null))%3B%0Aw(a.appendChild(a.createElementNS('http%3A%2F%2Fwww.w3.org%2F1999%2Fxhtml'%2C%20'html')))%3B%0Aw(b%3Da.firstChild.appendChild(a.createElementNS('http%3A%2F%2Fwww.w3.org%2F1999%2Fxhtml'%2C%20'body')))%3B%0Aw(b.test%20%3D%20w)%3B%0Aw(b.setAttribute('onclick'%2C%20'test(%22fire%3A%20%22%20%2B%20event)'))%3B%0Aw(b.onclick)%3B%0Aw(e%3Da.createEvent('Event'))%3B%0Aw(e.initEvent('click'%2C%20false%2C%20false))%3B%0Aw(b.dispatchEvent(e))%3B%0A%3C%2Fscript%3E --><p>Many objects can have <dfn id=event-handler-attributes-0>event handler attributes</dfn> specified. These act as bubbling event listeners for the element on which they are specified.<p>On <a href=#html-elements>HTML elements</a>, each event handler attribute has two parts, an <a href=#event-handler-content-attributes title="event handler content attributes">event
Received on Sunday, 28 December 2008 12:22:30 UTC