noted that the scroll event does bubble when dispatched on Document
authorschepers
Sun, 29 Aug 2010 03:52:34 +0900
changeset 266 5d00a2aedc33
parent 265 fecb2b8e92c0
child 267 a5ddacf52429
noted that the scroll event does bubble when dispatched on Document
html/DOM3-Events.html
--- a/html/DOM3-Events.html	Sun Aug 29 02:48:01 2010 +0900
+++ b/html/DOM3-Events.html	Sun Aug 29 03:52:34 2010 +0900
@@ -28,13 +28,13 @@
       <h2 id="Overview-W3C-doctype">W3C Editor's Draft <time datetime="2010-04-28">28 August 2010</time></h2>
       <dl>
         <dt>This version:</dt>
-        <dd><a href="http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html?rev=1.142">http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html?rev=1.142</a></dd>
+        <dd><a href="http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html?rev=1.143">http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html?rev=1.143</a></dd>
 
         <dt>Latest stable version:</dt>
         <dd><a href="http://www.w3.org/TR/DOM-Level-3-Events">http://www.w3.org/TR/DOM-Level-3-Events</a></dd>
 
         <dt>Previous version:</dt>
-        <dd><a href="http://dev.w3.org/cvsweb/~checkout~/2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html?rev=1.141">http://dev.w3.org/cvsweb/~checkout~/2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html?rev=1.141</a></dd>
+        <dd><a href="http://dev.w3.org/cvsweb/~checkout~/2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html?rev=1.142">http://dev.w3.org/cvsweb/~checkout~/2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html?rev=1.142</a></dd>
 
         <dt>Editor's Draft:</dt>
         <dd><a href="http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html">http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html</a></dd>
@@ -1745,7 +1745,7 @@
               <code>scroll</code>
             </a></td>
             <td>Async</td>
-            <td>No</td>
+            <td>No / <a href="#scroll-document">Yes</a></td>
             <td><a class="def" href="#glossary-defaultView"><code>defaultView</code></a>, <code>Document</code>, <code>Element</code></td>
             <td><a href="#events-UIEvent"><code>UIEvent</code></a></td>
             <td>No</td>
@@ -2176,7 +2176,7 @@
                 <tr class="assert must"><th>Type</th><td class="eventname"><strong><code>scroll</code></strong></td></tr>
                 <tr class="assert must"><th>Interface</th><td><a href="#events-UIEvent"><code>UIEvent</code></a></td></tr>
                 <tr class="assert must"><th>Sync / Async</th><td>Async</td></tr>
-                <tr class="assert must"><th>Bubbles</th><td>No</td></tr>
+                <tr class="assert must"><th>Bubbles</th><td>No / <a href="#scroll-document">Yes</a></td></tr>
                 <tr class="assert must"><th>Target</th><td><a class="def" href="#glossary-defaultView"><code>defaultView</code></a>, <code>Document</code>, <code>Element</code></td></tr>
                 <tr class="assert must"><th>Cancelable</th><td>No</td></tr>
                 <tr class="assert must"><th>Default action</th><td>none</td></tr>
@@ -2192,6 +2192,8 @@
               </table>
 
               <p>A <a class="def" href="#glossary-user-agent">user agent</a> must dispatch this event when a document view or an element has been scrolled.  This event type is dispatched after the scroll has occurred.</p>
+              
+              <p class="note" id="scroll-document"><strong>Note:</strong> When dispatched on the <code>Document</code> element, this event type does bubble to the <a class="def" href="#glossary-defaultView"><code>defaultView</code></a> object.</p>
             </dd>
           </dl>
         </div>