html5/spec Overview.html,1.2097,1.2098

Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv11306

Modified Files:
	Overview.html 
Log Message:
Expose event handler DOM attributes on Document objects. (credit: sp) (bug 6474) (whatwg r2933)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.2097
retrieving revision 1.2098
diff -u -d -r1.2097 -r1.2098
--- Overview.html	31 Mar 2009 03:48:51 -0000	1.2097
+++ Overview.html	31 Mar 2009 03:53:13 -0000	1.2098
@@ -751,7 +751,7 @@
      <li><a href=#events><span class=secno>5.5.6 </span>Events</a>
       <ol>
        <li><a href=#event-handler-attributes><span class=secno>5.5.6.1 </span>Event handler attributes</a></li>
-       <li><a href=#event-handler-attributes-on-elements-and-on-window-objects><span class=secno>5.5.6.2 </span>Event handler attributes on elements and on <code>Window</code> objects</a></li>
+       <li><a href=#event-handler-attributes-on-elements-document-objects-and-window-objects><span class=secno>5.5.6.2 </span>Event handler attributes on elements, <code>Document</code> objects, and <code>Window</code> objects</a></li>
        <li><a href=#event-firing><span class=secno>5.5.6.3 </span>Event firing</a></li>
        <li><a href=#events-and-the-window-object><span class=secno>5.5.6.4 </span>Events and the <code>Window</code> object</a></li>
        <li><a href=#runtime-script-errors><span class=secno>5.5.6.5 </span>Runtime script errors</a></ol></ol></li>
@@ -6177,6 +6177,36 @@
   boolean <a href=#dom-document-querycommandsupported title=dom-document-queryCommandSupported>queryCommandSupported</a>(in DOMString commandId);
   DOMString <a href=#dom-document-querycommandvalue title=dom-document-queryCommandValue>queryCommandValue</a>(in DOMString commandId);
   readonly attribute <a href=#htmlcollection-0>HTMLCollection</a> <a href=#dom-document-commands title=dom-document-commands>commands</a>;
+
+  // <a href=#event-handler-dom-attributes>event handler DOM attributes</a>
+           attribute <a href=#function>Function</a> <a href=#handler-onabort title=handler-onabort>onabort</a>;
+           attribute <a href=#function>Function</a> <a href=#handler-onblur title=handler-onblur>onblur</a>;
+           attribute <a href=#function>Function</a> <a href=#handler-onchange title=handler-onchange>onchange</a>;
+           attribute <a href=#function>Function</a> <a href=#handler-onclick title=handler-onclick>onclick</a>;
+           attribute <a href=#function>Function</a> <a href=#handler-oncontextmenu title=handler-oncontextmenu>oncontextmenu</a>;
+           attribute <a href=#function>Function</a> <a href=#handler-ondblclick title=handler-ondblclick>ondblclick</a>;
+           attribute <a href=#function>Function</a> <a href=#handler-ondrag title=handler-ondrag>ondrag</a>;
+           attribute <a href=#function>Function</a> <a href=#handler-ondragend title=handler-ondragend>ondragend</a>;
+           attribute <a href=#function>Function</a> <a href=#handler-ondragenter title=handler-ondragenter>ondragenter</a>;
+           attribute <a href=#function>Function</a> <a href=#handler-ondragleave title=handler-ondragleave>ondragleave</a>;
+           attribute <a href=#function>Function</a> <a href=#handler-ondragover title=handler-ondragover>ondragover</a>;
+           attribute <a href=#function>Function</a> <a href=#handler-ondragstart title=handler-ondragstart>ondragstart</a>;
+           attribute <a href=#function>Function</a> <a href=#handler-ondrop title=handler-ondrop>ondrop</a>;
+           attribute <a href=#function>Function</a> <a href=#handler-onerror title=handler-onerror>onerror</a>;
+           attribute <a href=#function>Function</a> <a href=#handler-onfocus title=handler-onfocus>onfocus</a>;
+           attribute <a href=#function>Function</a> <a href=#handler-onkeydown title=handler-onkeydown>onkeydown</a>;
+           attribute <a href=#function>Function</a> <a href=#handler-onkeypress title=handler-onkeypress>onkeypress</a>;
+           attribute <a href=#function>Function</a> <a href=#handler-onkeyup title=handler-onkeyup>onkeyup</a>;
+           attribute <a href=#function>Function</a> <a href=#handler-onload title=handler-onload>onload</a>;
+           attribute <a href=#function>Function</a> <a href=#handler-onmousedown title=handler-onmousedown>onmousedown</a>;
+           attribute <a href=#function>Function</a> <a href=#handler-onmousemove title=handler-onmousemove>onmousemove</a>;
+           attribute <a href=#function>Function</a> <a href=#handler-onmouseout title=handler-onmouseout>onmouseout</a>;
+           attribute <a href=#function>Function</a> <a href=#handler-onmouseover title=handler-onmouseover>onmouseover</a>;
+           attribute <a href=#function>Function</a> <a href=#handler-onmouseup title=handler-onmouseup>onmouseup</a>;
+           attribute <a href=#function>Function</a> <a href=#handler-onmousewheel title=handler-onmousewheel>onmousewheel</a>;
+           attribute <a href=#function>Function</a> <a href=#handler-onscroll title=handler-onscroll>onscroll</a>;
+           attribute <a href=#function>Function</a> <a href=#handler-onselect title=handler-onselect>onselect</a>;
+           attribute <a href=#function>Function</a> <a href=#handler-onsubmit title=handler-onsubmit>onsubmit</a>;
 };</pre><p>Since the <code><a href=#htmldocument>HTMLDocument</a></code> interface holds methods and
   attributes related to a number of disparate features, the members of
   this interface are described in various different sections.<h4 id=security><span class=secno>3.2.2 </span>Security</h4><p>User agents <span class=impl>must</span> raise a
@@ -36458,12 +36488,12 @@
 
   </div><div class=impl>
 
-  <h5 id=event-handler-attributes-on-elements-and-on-window-objects><span class=secno>5.5.6.2 </span>Event handler attributes on elements and on <code><a href=#window>Window</a></code> objects</h5>
+  <h5 id=event-handler-attributes-on-elements-document-objects-and-window-objects><span class=secno>5.5.6.2 </span>Event handler attributes on elements, <code>Document</code> objects, and <code><a href=#window>Window</a></code> objects</h5>
 
   <p>The following are the event handler attributes that must be
   supported by all <a href=#html-elements>HTML elements</a>, as both content
-  attributes and DOM attributes, and on <code><a href=#window>Window</a></code> objects,
-  as DOM attributes:</p>
+  attributes and DOM attributes, and on <code>Document</code> and
+  <code><a href=#window>Window</a></code> objects, as DOM attributes:</p>
 
   <dl><dt><dfn id=handler-onabort title=handler-onabort><code>onabort</code></dfn></dt>
 
@@ -36629,8 +36659,8 @@
 
   </dl><hr><p>The following are the event handler attributes that must be
   supported by all <a href=#html-elements>HTML elements</a> other than
-  <code><a href=#the-body-element>body</a></code>, as both content attributes and DOM
-  attributes:</p>
+  <code><a href=#the-body-element>body</a></code>, as both content attributes and DOM attributes,
+  and on <code>Document</code> objects, as DOM attributes:</p>
 
   <dl><dt><dfn id=handler-onerror title=handler-onerror><code>onerror</code></dfn></dt>
 

Received on Tuesday, 31 March 2009 03:53:33 UTC