W3C home > Mailing lists > Public > public-html-diffs@w3.org > May 2009

clean up some stuff around event handler attributes (whatwg r3128)

From: poot <cvsmail@w3.org>
Date: Tue, 26 May 2009 10:01:52 +0900 (JST)
To: public-html-diffs@w3.org
Message-Id: <20090526010152.EA4722BC97@toro.w3.mag.keio.ac.jp>
clean up some stuff around event handler attributes (whatwg r3128)

Diffs for this change per section: 
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2286.html#htmlbodyelement
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2286.html#dom-function-call
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2286.html#handler-onload
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2286.html#event-handler-attributes-on-elements-document-objects-and-window-objects
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2286.html#status-of-this-document
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2286.html#handler-onabort
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2286.html#handler-onfocus
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2286.html#the-section-element
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2286.html#a-vocabulary-and-associated-apis-for-html-and-xhtml
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2286.html#handler-window-onafterprint
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2286.html#editor-s-draft-date-1-january-1970
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2286.html#handler-onwaiting
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2286.html#handler-onerror
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2286.html#handler-onblur

http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.2285&r2=1.2286&f=h
http://html5.org/tools/web-apps-tracker?from=3127&to=3128

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.2285
retrieving revision 1.2286
diff -u -d -r1.2285 -r1.2286
--- Overview.html	25 May 2009 23:33:31 -0000	1.2285
+++ Overview.html	26 May 2009 01:00:10 -0000	1.2286
@@ -152,7 +152,7 @@
    <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
    <!--ZZZ:-->
    <!--<h2 class="no-num no-toc">W3C Working Draft 23 April 2009</h2>-->
-   <h2 class="no-num no-toc" id="editor-s-draft-date-1-january-1970">Editor's Draft 25 May 2009</h2>
+   <h2 class="no-num no-toc" id="editor-s-draft-date-1-january-1970">Editor's Draft 26 May 2009</h2>
    <!--:ZZZ-->
    <dl><!-- ZZZ: update the month/day (twice), (un)comment out
     <dt>This Version:</dt>
@@ -245,7 +245,7 @@
   track.
   <!--ZZZ:-->
   <!--This specification is the 23 April 2009 Working Draft.-->
-  This specification is the 25 May 2009 Editor's Draft.
+  This specification is the 26 May 2009 Editor's Draft.
   <!--:ZZZ-->
   </p><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- relationship to other work (required) --><p>This specification is also being produced by the <a href="http://www.whatwg.org/">WHATWG</a>. The two specifications are
   identical from the table of contents onwards.</p><!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- context and rationale (required) --><p>This specification is intended to replace (be a new version of)
@@ -11016,11 +11016,11 @@
   </div><p>The <code><a href="#the-body-element">body</a></code> element exposes as <a href="#event-handler-content-attributes">event handler
   content attributes</a> a number of the <a href="#event-handler-attributes-0">event handler
   attributes</a> of the <code><a href="#window">Window</a></code> object. It also mirrors
-  their <a href="#event-handler-dom-attributes">event handler DOM attributes</a>.<p>The <code title="handler-window-onerror"><a href="#handler-window-onerror">onerror</a></code> and <code title="handler-window-onload"><a href="#handler-window-onload">onload</a></code> <a href="#event-handler-attributes-0">event handler
+  their <a href="#event-handler-dom-attributes">event handler DOM attributes</a>.<p>The <code title="handler-window-onblur"><a href="#handler-window-onblur">onblur</a></code>, <code title="handler-window-onerror"><a href="#handler-window-onerror">onerror</a></code>, <code title="handler-window-onfocus"><a href="#handler-window-onfocus">onfocus</a></code>, and <code title="handler-window-onload"><a href="#handler-window-onload">onload</a></code> <a href="#event-handler-attributes-0">event handler
   attributes</a> of the <code><a href="#window">Window</a></code> object, exposed on the
-  <code><a href="#the-body-element">body</a></code> element, shadow the generic <code title="handler-onerror"><a href="#handler-onerror">onerror</a></code> and <code title="handler-onload"><a href="#handler-onload">onload</a></code> <a href="#event-handler-attributes-0">event handler
-  attributes</a> normally supported by <a href="#html-elements">HTML
-  elements</a>.<p class="example">Thus, for example, a bubbling <code title="event-error"><a href="#event-error">error</a></code> event fired on a child of <a href="#the-body-element-0">the
+  <code><a href="#the-body-element">body</a></code> element, shadow the generic <a href="#event-handler-attributes-0">event handler
+  attributes</a> with the same names normally supported by
+  <a href="#html-elements">HTML elements</a>.<p class="example">Thus, for example, a bubbling <code title="event-error"><a href="#event-error">error</a></code> event fired on a child of <a href="#the-body-element-0">the
   body element</a> of a <code>Document</code> would first trigger
   the <code title="handler-onerror"><a href="#handler-onerror">onerror</a></code> <a href="#event-handler-content-attributes">event handler
   content attributes</a> of that element, then that of the root
@@ -11029,13 +11029,12 @@
   attribute</a> on the <code><a href="#the-body-element">body</a></code> element. This is because
   the event would bubble from the target, to the <code><a href="#the-body-element">body</a></code>, to
   the <code><a href="#the-html-element">html</a></code>, to the <code>Document</code>, to the
-  <code><a href="#window">Window</a></code>, and the <a href="#event-handler-attributes-0" title="event handler attributes">event handler attribute</a> on
-  the <code><a href="#the-body-element">body</a></code> is watching the <code><a href="#window">Window</a></code> not the
-  <code><a href="#the-body-element">body</a></code>. A regular event listener attached to the
-  <code><a href="#the-body-element">body</a></code> using <code title="">addEventListener()</code>,
-  however, would fire when the event bubbled through the
-  <code><a href="#the-body-element">body</a></code> and not when it reaches the <code><a href="#window">Window</a></code>
-  object.<h4 id="the-section-element"><span class="secno">4.4.2 </span>The <dfn><code>section</code></dfn> element</h4><dl class="element"><dt>Categories</dt>
+  <code><a href="#window">Window</a></code>, and the <a href="#event-handler-attributes-0" title="event handler
+  attributes">event handler attribute</a> on the <code><a href="#the-body-element">body</a></code>
+  is watching the <code><a href="#window">Window</a></code> not the <code><a href="#the-body-element">body</a></code>. A
+  regular event listener attached to the <code><a href="#the-body-element">body</a></code> using <code title="">addEventListener()</code>, however, would fire when the
+  event bubbled through the <code><a href="#the-body-element">body</a></code> and not when it reaches
+  the <code><a href="#window">Window</a></code> object.<h4 id="the-section-element"><span class="secno">4.4.2 </span>The <dfn><code>section</code></dfn> element</h4><dl class="element"><dt>Categories</dt>
    <dd><a href="#flow-content-0">Flow content</a>.</dd>
    <dd><a href="#sectioning-content-0">Sectioning content</a>.</dd>
    <dd><a href="#formatblock-candidate"><code title="">formatBlock</code> candidate</a>.</dd>
@@ -43008,10 +43007,12 @@
 
   <h5 id="event-handler-attributes-on-elements-document-objects-and-window-objects"><span class="secno">6.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 <a href="#event-handler-attributes-0">event handler attributes</a> (and their corresponding <a href="#event-handler-event-type" title="event handler event type">event handler event types</a>)
-  that must be supported by all <a href="#html-elements">HTML elements</a>, as both
-  content attributes and DOM attributes, and on <code>Document</code>
-  and <code><a href="#window">Window</a></code> objects, as DOM attributes.</p>
+  <p>The following are the <a href="#event-handler-attributes-0">event handler attributes</a> (and
+  their corresponding <a href="#event-handler-event-type" title="event handler event type">event
+  handler event types</a>) that must be supported by all <a href="#html-elements">HTML
+  elements</a>, as both content attributes and DOM attributes, and
+  on <code>Document</code> and <code><a href="#window">Window</a></code> objects, as DOM
+  attributes.</p>
 
   <table><thead><tr><th><a href="#event-handler-attributes-0" title="event handler attributes">event handler attribute</a> <th><a href="#event-handler-event-type">Event handler event type</a>
    <tbody><tr><td><dfn id="handler-onabort" title="handler-onabort"><code>onabort</code></dfn> <td> <code title="event-abort"><a href="#event-abort">abort</a></code>
@@ -43071,21 +43072,25 @@
 <!--<tr><td><dfn title="handler-oncopy"><code>oncopy</code></dfn> <td> <code title="event-copy">copy</code>--> <!-- widely used -->
 <!--<tr><td><dfn title="handler-onpaste"><code>onpaste</code></dfn> <td> <code title="event-paste">paste</code>--> <!-- widely used -->
 <!--<tr><td><dfn title="handler-onselectstart"><code>onselectstart</code></dfn> <td> <code title="event-selectstart">selectstart</code>--> <!-- widely used -->
-  </table><hr><p>The following are the <a href="#event-handler-attributes-0">event handler attributes</a> (and their corresponding <a href="#event-handler-event-type" title="event handler event type">event handler event types</a>)
-  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,
-  and on <code>Document</code> objects, as DOM attributes:</p>
+  </table><hr><p>The following are the <a href="#event-handler-attributes-0">event handler attributes</a> (and
+  their corresponding <a href="#event-handler-event-type" title="event handler event type">event
+  handler event types</a>) 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, and on <code>Document</code> objects,
+  as DOM attributes:</p>
 
   <table><thead><tr><th><a href="#event-handler-attributes-0" title="event handler attributes">event handler attribute</a> <th><a href="#event-handler-event-type">Event handler event type</a>
    <tbody><tr><td><dfn id="handler-onblur" title="handler-onblur"><code>onblur</code></dfn> <td> <code title="event-blur">blur</code> <!-- widely used -->
     <tr><td><dfn id="handler-onerror" title="handler-onerror"><code>onerror</code></dfn> <td> <code title="event-error"><a href="#event-error">error</a></code>
     <tr><td><dfn id="handler-onfocus" title="handler-onfocus"><code>onfocus</code></dfn> <td> <code title="event-focus">focus</code> <!-- widely used -->
     <tr><td><dfn id="handler-onload" title="handler-onload"><code>onload</code></dfn> <td> <code title="event-load"><a href="#event-load">load</a></code>
-  </table><hr><p>The following are the <a href="#event-handler-attributes-0">event handler attributes</a> (and their corresponding <a href="#event-handler-event-type" title="event handler event type">event handler event types</a>)
-  that must be supported by <code><a href="#window">Window</a></code> objects, as DOM
-  attributes on the <code><a href="#window">Window</a></code> object, and with corresponding
-  content attributes and DOM attributes exposed on the
-  <code><a href="#the-body-element">body</a></code> element:</p>
+  </table><hr><p>The following are the <a href="#event-handler-attributes-0">event handler attributes</a> (and
+  their corresponding <a href="#event-handler-event-type" title="event handler event type">event
+  handler event types</a>) that must be supported by
+  <code><a href="#window">Window</a></code> objects, as DOM attributes on the
+  <code><a href="#window">Window</a></code> object, and with corresponding content
+  attributes and DOM attributes exposed on the <code><a href="#the-body-element">body</a></code>
+  element:</p>
 
   <table><thead><tr><th><a href="#event-handler-attributes-0" title="event handler attributes">event handler attribute</a> <th><a href="#event-handler-event-type">Event handler event type</a>
    <tbody><tr><td><dfn id="handler-window-onafterprint" title="handler-window-onafterprint"><code>onafterprint</code></dfn> <td> <code title="event-afterprint">afterprint</code>
Received on Tuesday, 26 May 2009 01:02:29 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 18 December 2010 06:14:05 GMT