HTML Standard Tracker

Diff (omit for latest revision)
Filter

Short URL: http://html5.org/r/2933

File a bug

SVNBugCommentTime (UTC)
2933[Gecko] [Internet Explorer] [Opera] [Webkit] Expose event handler DOM attributes on Document objects. (credit: sp) (bug 6474)2009-03-31 03:53
Index: source
===================================================================
--- source	(revision 2932)
+++ source	(revision 2933)
@@ -6862,6 +6862,36 @@
   boolean <span title="dom-document-queryCommandSupported">queryCommandSupported</span>(in DOMString commandId);
   DOMString <span title="dom-document-queryCommandValue">queryCommandValue</span>(in DOMString commandId);
   readonly attribute <span>HTMLCollection</span> <span title="dom-document-commands">commands</span>;
+
+  // <span>event handler DOM attributes</span>
+           attribute <span>Function</span> <span title="handler-onabort">onabort</span>;
+           attribute <span>Function</span> <span title="handler-onblur">onblur</span>;
+           attribute <span>Function</span> <span title="handler-onchange">onchange</span>;
+           attribute <span>Function</span> <span title="handler-onclick">onclick</span>;
+           attribute <span>Function</span> <span title="handler-oncontextmenu">oncontextmenu</span>;
+           attribute <span>Function</span> <span title="handler-ondblclick">ondblclick</span>;
+           attribute <span>Function</span> <span title="handler-ondrag">ondrag</span>;
+           attribute <span>Function</span> <span title="handler-ondragend">ondragend</span>;
+           attribute <span>Function</span> <span title="handler-ondragenter">ondragenter</span>;
+           attribute <span>Function</span> <span title="handler-ondragleave">ondragleave</span>;
+           attribute <span>Function</span> <span title="handler-ondragover">ondragover</span>;
+           attribute <span>Function</span> <span title="handler-ondragstart">ondragstart</span>;
+           attribute <span>Function</span> <span title="handler-ondrop">ondrop</span>;
+           attribute <span>Function</span> <span title="handler-onerror">onerror</span>;
+           attribute <span>Function</span> <span title="handler-onfocus">onfocus</span>;
+           attribute <span>Function</span> <span title="handler-onkeydown">onkeydown</span>;
+           attribute <span>Function</span> <span title="handler-onkeypress">onkeypress</span>;
+           attribute <span>Function</span> <span title="handler-onkeyup">onkeyup</span>;
+           attribute <span>Function</span> <span title="handler-onload">onload</span>;
+           attribute <span>Function</span> <span title="handler-onmousedown">onmousedown</span>;
+           attribute <span>Function</span> <span title="handler-onmousemove">onmousemove</span>;
+           attribute <span>Function</span> <span title="handler-onmouseout">onmouseout</span>;
+           attribute <span>Function</span> <span title="handler-onmouseover">onmouseover</span>;
+           attribute <span>Function</span> <span title="handler-onmouseup">onmouseup</span>;
+           attribute <span>Function</span> <span title="handler-onmousewheel">onmousewheel</span>;
+           attribute <span>Function</span> <span title="handler-onscroll">onscroll</span>;
+           attribute <span>Function</span> <span title="handler-onselect">onselect</span>;
+           attribute <span>Function</span> <span title="handler-onsubmit">onsubmit</span>;
 };</pre>
 
   <p>Since the <code>HTMLDocument</code> interface holds methods and
@@ -46348,12 +46378,12 @@
 
   <div class="impl">
 
-  <h5>Event handler attributes on elements and on <code>Window</code> objects</h5>
+  <h5>Event handler attributes on elements, <code>Document</code> objects, and <code>Window</code> objects</h5>
 
   <p>The following are the event handler attributes that must be
   supported by all <span>HTML elements</span>, as both content
-  attributes and DOM attributes, and on <code>Window</code> objects,
-  as DOM attributes:</p>
+  attributes and DOM attributes, and on <code>Document</code> and
+  <code>Window</code> objects, as DOM attributes:</p>
 
   <dl>
 
@@ -46551,8 +46581,8 @@
 
   <p>The following are the event handler attributes that must be
   supported by all <span>HTML elements</span> other than
-  <code>body</code>, as both content attributes and DOM
-  attributes:</p>
+  <code>body</code>, as both content attributes and DOM attributes,
+  and on <code>Document</code> objects, as DOM attributes:</p>
 
   <dl>
 

|