[html5] r5620 - [e] (0) Move scrollIntoView() to CSSOM View and update the other scroll algorith [...]

whatwg at whatwg.org whatwg at whatwg.org
Wed Oct 13 13:18:59 PDT 2010


Author: ianh
Date: 2010-10-13 13:18:57 -0700 (Wed, 13 Oct 2010)
New Revision: 5620

Modified:
   complete.html
   index
   source
Log:
[e] (0) Move scrollIntoView() to CSSOM View and update the other scroll algorithm to use the CSSOM View definition.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=10533

Modified: complete.html
===================================================================
--- complete.html	2010-10-13 18:45:03 UTC (rev 5619)
+++ complete.html	2010-10-13 20:18:57 UTC (rev 5620)
@@ -940,45 +940,44 @@
   <ol>
    <li><a href=#the-hidden-attribute><span class=secno>8.1 </span>The <code>hidden</code> attribute</a></li>
    <li><a href=#activation><span class=secno>8.2 </span>Activation</a></li>
-   <li><a href=#scrolling-elements-into-view><span class=secno>8.3 </span>Scrolling elements into view</a></li>
-   <li><a href=#focus><span class=secno>8.4 </span>Focus</a>
+   <li><a href=#focus><span class=secno>8.3 </span>Focus</a>
     <ol>
-     <li><a href=#sequential-focus-navigation-and-the-tabindex-attribute><span class=secno>8.4.1 </span>Sequential focus navigation and the <code title=attr-tabindex>tabindex</code> attribute</a></li>
-     <li><a href=#focus-management><span class=secno>8.4.2 </span>Focus management</a></li>
-     <li><a href=#document-level-focus-apis><span class=secno>8.4.3 </span>Document-level focus APIs</a></li>
-     <li><a href=#element-level-focus-apis><span class=secno>8.4.4 </span>Element-level focus APIs</a></ol></li>
-   <li><a href=#assigning-keyboard-shortcuts><span class=secno>8.5 </span>Assigning keyboard shortcuts</a>
+     <li><a href=#sequential-focus-navigation-and-the-tabindex-attribute><span class=secno>8.3.1 </span>Sequential focus navigation and the <code title=attr-tabindex>tabindex</code> attribute</a></li>
+     <li><a href=#focus-management><span class=secno>8.3.2 </span>Focus management</a></li>
+     <li><a href=#document-level-focus-apis><span class=secno>8.3.3 </span>Document-level focus APIs</a></li>
+     <li><a href=#element-level-focus-apis><span class=secno>8.3.4 </span>Element-level focus APIs</a></ol></li>
+   <li><a href=#assigning-keyboard-shortcuts><span class=secno>8.4 </span>Assigning keyboard shortcuts</a>
     <ol>
-     <li><a href=#introduction-6><span class=secno>8.5.1 </span>Introduction</a></li>
-     <li><a href=#the-accesskey-attribute><span class=secno>8.5.2 </span>The <code>accesskey</code> attribute</a></li>
-     <li><a href=#processing-model-3><span class=secno>8.5.3 </span>Processing model</a></ol></li>
-   <li><a href=#contenteditable><span class=secno>8.6 </span>The <code title=attr-contenteditable>contenteditable</code> attribute</a>
+     <li><a href=#introduction-6><span class=secno>8.4.1 </span>Introduction</a></li>
+     <li><a href=#the-accesskey-attribute><span class=secno>8.4.2 </span>The <code>accesskey</code> attribute</a></li>
+     <li><a href=#processing-model-3><span class=secno>8.4.3 </span>Processing model</a></ol></li>
+   <li><a href=#contenteditable><span class=secno>8.5 </span>The <code title=attr-contenteditable>contenteditable</code> attribute</a>
     <ol>
-     <li><a href=#user-editing-actions><span class=secno>8.6.1 </span>User editing actions</a></li>
-     <li><a href=#making-entire-documents-editable><span class=secno>8.6.2 </span>Making entire documents editable</a></ol></li>
-   <li><a href=#spelling-and-grammar-checking><span class=secno>8.7 </span>Spelling and grammar checking</a></li>
-   <li><a href=#dnd><span class=secno>8.8 </span>Drag and drop</a>
+     <li><a href=#user-editing-actions><span class=secno>8.5.1 </span>User editing actions</a></li>
+     <li><a href=#making-entire-documents-editable><span class=secno>8.5.2 </span>Making entire documents editable</a></ol></li>
+   <li><a href=#spelling-and-grammar-checking><span class=secno>8.6 </span>Spelling and grammar checking</a></li>
+   <li><a href=#dnd><span class=secno>8.7 </span>Drag and drop</a>
     <ol>
-     <li><a href=#introduction-7><span class=secno>8.8.1 </span>Introduction</a></li>
-     <li><a href=#the-dragevent-and-datatransfer-interfaces><span class=secno>8.8.2 </span>The <code>DragEvent</code> and <code>DataTransfer</code> interfaces</a></li>
-     <li><a href=#dndevents><span class=secno>8.8.3 </span>Events fired during a drag-and-drop action</a></li>
-     <li><a href=#drag-and-drop-processing-model><span class=secno>8.8.4 </span>Drag-and-drop processing model</a>
+     <li><a href=#introduction-7><span class=secno>8.7.1 </span>Introduction</a></li>
+     <li><a href=#the-dragevent-and-datatransfer-interfaces><span class=secno>8.7.2 </span>The <code>DragEvent</code> and <code>DataTransfer</code> interfaces</a></li>
+     <li><a href=#dndevents><span class=secno>8.7.3 </span>Events fired during a drag-and-drop action</a></li>
+     <li><a href=#drag-and-drop-processing-model><span class=secno>8.7.4 </span>Drag-and-drop processing model</a>
       <ol>
-       <li><a href=#when-the-drag-and-drop-operation-starts-or-ends-in-another-document><span class=secno>8.8.4.1 </span>When the drag-and-drop operation starts or ends in another
+       <li><a href=#when-the-drag-and-drop-operation-starts-or-ends-in-another-document><span class=secno>8.7.4.1 </span>When the drag-and-drop operation starts or ends in another
   document</a></li>
-       <li><a href=#when-the-drag-and-drop-operation-starts-or-ends-in-another-application><span class=secno>8.8.4.2 </span>When the drag-and-drop operation starts or ends in another
+       <li><a href=#when-the-drag-and-drop-operation-starts-or-ends-in-another-application><span class=secno>8.7.4.2 </span>When the drag-and-drop operation starts or ends in another
   application</a></ol></li>
-     <li><a href=#the-draggable-attribute><span class=secno>8.8.5 </span>The <code>draggable</code> attribute</a></li>
-     <li><a href=#security-risks-in-the-drag-and-drop-model><span class=secno>8.8.6 </span>Security risks in the drag-and-drop model</a></ol></li>
-   <li><a href=#undo><span class=secno>8.9 </span>Undo history</a>
+     <li><a href=#the-draggable-attribute><span class=secno>8.7.5 </span>The <code>draggable</code> attribute</a></li>
+     <li><a href=#security-risks-in-the-drag-and-drop-model><span class=secno>8.7.6 </span>Security risks in the drag-and-drop model</a></ol></li>
+   <li><a href=#undo><span class=secno>8.8 </span>Undo history</a>
     <ol>
-     <li><a href=#definitions-2><span class=secno>8.9.1 </span>Definitions</a></li>
-     <li><a href=#the-undomanager-interface><span class=secno>8.9.2 </span>The <code>UndoManager</code> interface</a></li>
-     <li><a href=#undo:-moving-back-in-the-undo-transaction-history><span class=secno>8.9.3 </span>Undo: moving back in the undo transaction history</a></li>
-     <li><a href=#redo:-moving-forward-in-the-undo-transaction-history><span class=secno>8.9.4 </span>Redo: moving forward in the undo transaction history</a></li>
-     <li><a href=#the-undomanagerevent-interface-and-the-undo-and-redo-events><span class=secno>8.9.5 </span>The <code>UndoManagerEvent</code> interface and the <code title=event-undo>undo</code> and <code title=event-redo>redo</code> events</a></li>
-     <li><a href=#implementation-notes><span class=secno>8.9.6 </span>Implementation notes</a></ol></li>
-   <li><a href=#editing-apis><span class=secno>8.10 </span>Editing APIs</a></ol></li>
+     <li><a href=#definitions-2><span class=secno>8.8.1 </span>Definitions</a></li>
+     <li><a href=#the-undomanager-interface><span class=secno>8.8.2 </span>The <code>UndoManager</code> interface</a></li>
+     <li><a href=#undo:-moving-back-in-the-undo-transaction-history><span class=secno>8.8.3 </span>Undo: moving back in the undo transaction history</a></li>
+     <li><a href=#redo:-moving-forward-in-the-undo-transaction-history><span class=secno>8.8.4 </span>Redo: moving forward in the undo transaction history</a></li>
+     <li><a href=#the-undomanagerevent-interface-and-the-undo-and-redo-events><span class=secno>8.8.5 </span>The <code>UndoManagerEvent</code> interface and the <code title=event-undo>undo</code> and <code title=event-redo>redo</code> events</a></li>
+     <li><a href=#implementation-notes><span class=secno>8.8.6 </span>Implementation notes</a></ol></li>
+   <li><a href=#editing-apis><span class=secno>8.9 </span>Editing APIs</a></ol></li>
  <li><a href=#workers><span class=secno>9 </span>Web workers</a>
   <ol>
    <li><a href=#introduction-8><span class=secno>9.1 </span>Introduction</a>
@@ -9169,8 +9168,6 @@
   // <a href=#editing>user interaction</a>
            attribute boolean <a href=#dom-hidden title=dom-hidden>hidden</a>;
   void <a href=#dom-click title=dom-click>click</a>();
-  void <a href=#dom-scrollintoview title=dom-scrollIntoView>scrollIntoView</a>();
-  void <a href=#dom-scrollintoview title=dom-scrollIntoView>scrollIntoView</a>(in boolean top);
            attribute long <a href=#dom-tabindex title=dom-tabindex>tabIndex</a>;
   void <a href=#dom-focus title=dom-focus>focus</a>();
   void <a href=#dom-blur title=dom-blur>blur</a>();
@@ -61856,10 +61853,11 @@
 
   <hr><p>When the user agent is required to <dfn id=scroll-to-the-fragment-identifier>scroll to the fragment
   identifier</dfn>, it must change the scrolling position of the
-  document, or perform some other action, such that <a href=#the-indicated-part-of-the-document>the
-  indicated part of the document</a> is brought to the user's
-  attention. If there is no indicated part, then the user agent must
-  not scroll anywhere.</p>
+  document using the <span>scroll an element into view</span>
+  algorithm defined in the CSSOM View specification, or perform some
+  other action, such that <a href=#the-indicated-part-of-the-document>the indicated part of the
+  document</a> is brought to the user's attention. If there is no
+  indicated part, then the user agent must not scroll anywhere. <a href=#refsCSSOMVIEW>[CSSOMVIEW]</a></p>
 
   <p><dfn id=the-indicated-part-of-the-document>The indicated part of the document</dfn> is the one that the
   fragment identifier, if any, identifies. The semantics of the
@@ -67041,54 +67039,8 @@
   </ol></div>
 
 
-  <h3 id=scrolling-elements-into-view><span class=secno>8.3 </span>Scrolling elements into view</h3> <!-- maybe this should move to [CSSOM] -->
+  <h3 id=focus><span class=secno>8.3 </span>Focus</h3>
 
-  <dl class=domintro><dt><var title="">element</var> . <code title=dom-scrollIntoView><a href=#dom-scrollintoview>scrollIntoView</a></code>( [ <var title="">top</var> ] )</dt>
-
-   <dd>
-
-    <p>Scrolls the element into view. If the <var title="">top</var>
-    argument is true, then the element will be scrolled to the top of
-    the viewport, otherwise it'll be scrolled to the bottom. The
-    default is the top.</p>
-
-   </dd>
-
-  </dl><div class=impl>
-
-  <p>The <dfn id=dom-scrollintoview title=dom-scrollIntoView><code>scrollIntoView([<var title="">top</var>])</code></dfn> method, when called, must cause
-  the element on which the method was called to have the attention of
-  the user called to it.</p>
-
-  <p class=note>In a speech browser, this could happen by having the
-  current playback position move to the start of the given
-  element.</p>
-
-  <p>If the element in question cannot be brought to the user's
-  attention, e.g. because it is <code title=attr-hidden><a href=#the-hidden-attribute>hidden</a></code>, or is not <a href=#being-rendered>being
-  rendered</a>, then the user agent must do nothing instead.</p>
-
-  <p>In visual user agents, if the argument is present and has the
-  value false, the user agent should scroll the element into view such
-  that both the bottom and the top of the element are in the viewport,
-  with the bottom of the element aligned with the bottom of the
-  viewport. If it isn't possible to show the entire element in that
-  way, or if the argument is omitted or is true, then the user agent
-  should instead align the top of the element with the top of the
-  viewport. If the entire scrollable part of the content is visible
-  all at once (e.g. if a page is shorter than the viewport), then the
-  user agent should not scroll anything. Visual user agents should
-  further scroll horizontally as necessary to bring the element to the
-  attention of the user.</p>
-
-  <p>Non-visual user agents may ignore the argument, or may treat it
-  in some media-specific manner most useful to the user.</p>
-
-  </div>
-
-
-  <h3 id=focus><span class=secno>8.4 </span>Focus</h3>
-
   <!-- http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C!DOCTYPE%20html%3E%20%0A...%3Cform%3E%3Cinput%20name%3Da%20onfocus%3D%22value%2B%3D1%3Bd.name%3D%27a%27%3Bname%3D%27d%27%3Bb.focus()%22%3E%0A%3Cinput%20name%3Db%20onfocus%3D%22value%2B%3D1%3Bc.focus()%22%3E%0A%3Cinput%20name%3Dc%20onfocus%3D%22value%2B%3D1%3Bd.focus()%22%3E%0A%3Cinput%20name%3Dd%20onfocus%3D%22value%2B%3D1%3Ba.focus()%22%3E -->
 
   <!-- http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C!DOCTYPE%20html%3E%0A...%3Cform%3E%0A%3Ctextarea%20name%3Dt%20cols%3D100%20rows%3D3%3E%3C%2Ftextarea%3E%3Cp%3E%0A%3Cinput%20name%3Da%20onfocus%3D%22t.value%2B%3D%27af1%20%27%3Bb.focus()%3Balert(document.activeElement.name)%3Bt.value%2B%3D%27af2%20%27%3B%22%20onblur%3D%22t.value%2B%3D%27ab%20%27%3B%22%3E%0A%3Cinput%20name%3Db%20onfocus%3D%22t.value%2B%3D%27bf1%20%27%3Bc.focus()%3Bt.value%2B%3D%27bf2%20%27%3B%22%20onblur%3D%22t.value%2B%3D%27bb%20%27%3B%22%3E%0A%3Cinput%20name%3Dc%20onfocus%3D%22t.value%2B%3D%27cf1%20%27%3Bc.focus()%3Bt.value%2B%3D%27cf2%20%27%3B%22%20onblur%3D%22t.value%2B%3D%27cb%20%27%3B%22%3E%0A -->
@@ -67131,7 +67083,7 @@
   </div>
 
 
-  <h4 id=sequential-focus-navigation-and-the-tabindex-attribute><span class=secno>8.4.1 </span>Sequential focus navigation and the <code title=attr-tabindex><a href=#attr-tabindex>tabindex</a></code> attribute</h4>
+  <h4 id=sequential-focus-navigation-and-the-tabindex-attribute><span class=secno>8.3.1 </span>Sequential focus navigation and the <code title=attr-tabindex><a href=#attr-tabindex>tabindex</a></code> attribute</h4>
 
   <p>The <dfn id=attr-tabindex title=attr-tabindex><code>tabindex</code></dfn>
   content attribute specifies whether the element is focusable,
@@ -67244,7 +67196,7 @@
 
   <div class=impl>
 
-  <h4 id=focus-management><span class=secno>8.4.2 </span>Focus management</h4>
+  <h4 id=focus-management><span class=secno>8.3.2 </span>Focus management</h4>
 
   <p>An element is <dfn id=focusable>focusable</dfn> if the user agent's default
   behavior allows it to be focusable or if the element is
@@ -67345,7 +67297,7 @@
   </div>
 
 
-  <h4 id=document-level-focus-apis><span class=secno>8.4.3 </span>Document-level focus APIs</h4>
+  <h4 id=document-level-focus-apis><span class=secno>8.3.3 </span>Document-level focus APIs</h4>
 
   <dl class=domintro><dt><var title="">document</var> . <code title=dom-document-activeElement><a href=#dom-document-activeelement>activeElement</a></code></dt>
 
@@ -67420,7 +67372,7 @@
   </div>
 
 
-  <h4 id=element-level-focus-apis><span class=secno>8.4.4 </span>Element-level focus APIs</h4>
+  <h4 id=element-level-focus-apis><span class=secno>8.3.4 </span>Element-level focus APIs</h4>
 
   <dl class=domintro><dt><var title="">element</var> . <code title=dom-focus><a href=#dom-focus>focus</a></code>()</dt>
 
@@ -67486,9 +67438,9 @@
 
 
 
-  <h3 id=assigning-keyboard-shortcuts><span class=secno>8.5 </span>Assigning keyboard shortcuts</h3>
+  <h3 id=assigning-keyboard-shortcuts><span class=secno>8.4 </span>Assigning keyboard shortcuts</h3>
 
-  <h4 id=introduction-6><span class=secno>8.5.1 </span>Introduction</h4>
+  <h4 id=introduction-6><span class=secno>8.4.1 </span>Introduction</h4>
 
   <p><i>This section is non-normative.</i></p>
 
@@ -67514,7 +67466,7 @@
   the user agent.</p>
 
 
-  <h4 id=the-accesskey-attribute><span class=secno>8.5.2 </span>The <dfn title=attr-accesskey><code>accesskey</code></dfn> attribute</h4>
+  <h4 id=the-accesskey-attribute><span class=secno>8.4.2 </span>The <dfn title=attr-accesskey><code>accesskey</code></dfn> attribute</h4>
 
   <p>All <a href=#html-elements>HTML elements</a> may have the <code title=attr-accesskey><a href=#the-accesskey-attribute>accesskey</a></code> content attribute set. The
   <code title=attr-accesskey><a href=#the-accesskey-attribute>accesskey</a></code> attribute's value is
@@ -67592,7 +67544,7 @@
 
   <div class=impl>
 
-  <h4 id=processing-model-3><span class=secno>8.5.3 </span>Processing model</h4>
+  <h4 id=processing-model-3><span class=secno>8.4.3 </span>Processing model</h4>
 
   <p>An element's <dfn id=assigned-access-key>assigned access key</dfn> is a key combination
   derived from the element's <code title=attr-accesskey><a href=#the-accesskey-attribute>accesskey</a></code> content attribute as
@@ -67662,7 +67614,7 @@
 
 
 
-  <h3 id=contenteditable><span class=secno>8.6 </span>The <code title=attr-contenteditable><a href=#attr-contenteditable>contenteditable</a></code> attribute</h3>
+  <h3 id=contenteditable><span class=secno>8.5 </span>The <code title=attr-contenteditable><a href=#attr-contenteditable>contenteditable</a></code> attribute</h3>
 
   <p>The <dfn id=attr-contenteditable title=attr-contenteditable><code>contenteditable</code></dfn>
   attribute is an <a href=#enumerated-attribute>enumerated attribute</a> whose keywords are
@@ -67767,7 +67719,7 @@
 
   <div class=impl>
 
-  <h4 id=user-editing-actions><span class=secno>8.6.1 </span>User editing actions</h4>
+  <h4 id=user-editing-actions><span class=secno>8.5.1 </span>User editing actions</h4>
 
   <p>There are several actions that the user agent should allow the
   user to perform while the user is interacting with an editing
@@ -67956,7 +67908,7 @@
 
 
 
-  <h4 id=making-entire-documents-editable><span class=secno>8.6.2 </span>Making entire documents editable</h4>
+  <h4 id=making-entire-documents-editable><span class=secno>8.5.2 </span>Making entire documents editable</h4>
 
   <div class=impl>
 
@@ -67998,7 +67950,7 @@
 
 
 
-  <h3 id=spelling-and-grammar-checking><span class=secno>8.7 </span>Spelling and grammar checking</h3>
+  <h3 id=spelling-and-grammar-checking><span class=secno>8.6 </span>Spelling and grammar checking</h3>
 
   <div class=impl>
 
@@ -68190,7 +68142,7 @@
   the checking is enabled, or could use other interfaces.</p>
 
 
-  <h3 id=dnd><span class=secno>8.8 </span><dfn>Drag and drop</dfn></h3>
+  <h3 id=dnd><span class=secno>8.7 </span><dfn>Drag and drop</dfn></h3>
 
 <!-- v2 ideas for drag and drop:
 
@@ -68293,7 +68245,7 @@
   </div>
 
 
-  <h4 id=introduction-7><span class=secno>8.8.1 </span>Introduction</h4>
+  <h4 id=introduction-7><span class=secno>8.7.1 </span>Introduction</h4>
 
   <p><i>This section is non-normative.</i></p>
 
@@ -68403,7 +68355,7 @@
 
 
 
-  <h4 id=the-dragevent-and-datatransfer-interfaces><span class=secno>8.8.2 </span>The <code><a href=#dragevent>DragEvent</a></code> and <code><a href=#datatransfer>DataTransfer</a></code> interfaces</h4>
+  <h4 id=the-dragevent-and-datatransfer-interfaces><span class=secno>8.7.2 </span>The <code><a href=#dragevent>DragEvent</a></code> and <code><a href=#datatransfer>DataTransfer</a></code> interfaces</h4>
 
   <p>The drag-and-drop processing model involves several events. They
   all use the <code><a href=#dragevent>DragEvent</a></code> interface.</p>
@@ -68655,7 +68607,7 @@
   </div>
 
 
-  <h4 id=dndevents><span class=secno>8.8.3 </span>Events fired during a drag-and-drop action</h4>
+  <h4 id=dndevents><span class=secno>8.7.3 </span>Events fired during a drag-and-drop action</h4>
 
   <p>The following events are involved in the drag-and-drop
   model.</p>
@@ -68794,7 +68746,7 @@
 
   <div class=impl>
 
-  <h4 id=drag-and-drop-processing-model><span class=secno>8.8.4 </span>Drag-and-drop processing model</h4>
+  <h4 id=drag-and-drop-processing-model><span class=secno>8.7.4 </span>Drag-and-drop processing model</h4>
 
   <p>When the user attempts to begin a drag operation, the user agent
   must first determine what is being dragged. If the drag operation
@@ -69312,7 +69264,7 @@
 
   <div class=impl>
 
-  <h5 id=when-the-drag-and-drop-operation-starts-or-ends-in-another-document><span class=secno>8.8.4.1 </span>When the drag-and-drop operation starts or ends in another
+  <h5 id=when-the-drag-and-drop-operation-starts-or-ends-in-another-document><span class=secno>8.7.4.1 </span>When the drag-and-drop operation starts or ends in another
   document</h5>
 
   <p>The model described above is independent of which
@@ -69327,7 +69279,7 @@
 
   <div class=impl>
 
-  <h5 id=when-the-drag-and-drop-operation-starts-or-ends-in-another-application><span class=secno>8.8.4.2 </span>When the drag-and-drop operation starts or ends in another
+  <h5 id=when-the-drag-and-drop-operation-starts-or-ends-in-another-application><span class=secno>8.7.4.2 </span>When the drag-and-drop operation starts or ends in another
   application</h5>
 
   <p>If the drag is initiated in another application, the <a href=#source-node>source
@@ -69357,7 +69309,7 @@
   </div>
 
 
-  <h4 id=the-draggable-attribute><span class=secno>8.8.5 </span>The <dfn title=attr-draggable><code>draggable</code></dfn> attribute</h4>
+  <h4 id=the-draggable-attribute><span class=secno>8.7.5 </span>The <dfn title=attr-draggable><code>draggable</code></dfn> attribute</h4>
 
   <p>All <a href=#html-elements>HTML elements</a> may have the <code title=attr-draggable><a href=#the-draggable-attribute>draggable</a></code> content attribute set. The
   <code title=attr-draggable><a href=#the-draggable-attribute>draggable</a></code> attribute is an
@@ -69499,7 +69451,7 @@
 
   <div class=impl>
 
-  <h4 id=security-risks-in-the-drag-and-drop-model><span class=secno>8.8.6 </span>Security risks in the drag-and-drop model</h4>
+  <h4 id=security-risks-in-the-drag-and-drop-model><span class=secno>8.7.6 </span>Security risks in the drag-and-drop model</h4>
 
   <p>User agents must not make the data added to the
   <code><a href=#datatransfer>DataTransfer</a></code> object during the <code title=event-dragstart><a href=#event-dragstart>dragstart</a></code> event available to scripts
@@ -69525,11 +69477,11 @@
   </div>
 
 
-  <h3 id=undo><span class=secno>8.9 </span><dfn>Undo history</dfn></h3>
+  <h3 id=undo><span class=secno>8.8 </span><dfn>Undo history</dfn></h3>
 
   <div class=impl>
 
-  <h4 id=definitions-2><span class=secno>8.9.1 </span>Definitions</h4>
+  <h4 id=definitions-2><span class=secno>8.8.1 </span>Definitions</h4>
 
   <p>The user agent must associate an <dfn id=undo-transaction-history>undo transaction
   history</dfn> with each <code><a href=#htmldocument>HTMLDocument</a></code> object.</p>
@@ -69567,7 +69519,7 @@
   </div>
 
 
-  <h4 id=the-undomanager-interface><span class=secno>8.9.2 </span>The <code><a href=#undomanager>UndoManager</a></code> interface</h4>
+  <h4 id=the-undomanager-interface><span class=secno>8.8.2 </span>The <code><a href=#undomanager>UndoManager</a></code> interface</h4>
 
   <p>To manage <a href=#undo-object>undo object</a> entries in the <a href=#undo-transaction-history>undo
   transaction history</a>, the <code><a href=#undomanager>UndoManager</a></code>
@@ -69734,7 +69686,7 @@
 
   <div class=impl>
 
-  <h4 id=undo:-moving-back-in-the-undo-transaction-history><span class=secno>8.9.3 </span><dfn title=do-undo>Undo: moving back in the undo transaction history</dfn></h4>
+  <h4 id=undo:-moving-back-in-the-undo-transaction-history><span class=secno>8.8.3 </span><dfn title=do-undo>Undo: moving back in the undo transaction history</dfn></h4>
 
   <p>When the user invokes an undo operation, or when the <code title=dom-document-execCommand><a href=#execCommand>execCommand()</a></code> method is
   called with the <code title=command-undo><a href=#command-undo>undo</a></code> command, the
@@ -69771,7 +69723,7 @@
   command to undo his undo.</p>
 
 
-  <h4 id=redo:-moving-forward-in-the-undo-transaction-history><span class=secno>8.9.4 </span><dfn title=do-redo>Redo: moving forward in the undo transaction history</dfn></h4>
+  <h4 id=redo:-moving-forward-in-the-undo-transaction-history><span class=secno>8.8.4 </span><dfn title=do-redo>Redo: moving forward in the undo transaction history</dfn></h4>
 
   <p>When the user invokes a redo operation, or when the <code title=dom-document-execCommand><a href=#execCommand>execCommand()</a></code> method is
   called with the <code title=command-redo><a href=#command-redo>redo</a></code> command, the
@@ -69808,7 +69760,7 @@
   </div>
 
 
-  <h4 id=the-undomanagerevent-interface-and-the-undo-and-redo-events><span class=secno>8.9.5 </span>The <code><a href=#undomanagerevent>UndoManagerEvent</a></code> interface and the <code title=event-undo><a href=#event-undo>undo</a></code> and <code title=event-redo><a href=#event-redo>redo</a></code> events</h4>
+  <h4 id=the-undomanagerevent-interface-and-the-undo-and-redo-events><span class=secno>8.8.5 </span>The <code><a href=#undomanagerevent>UndoManagerEvent</a></code> interface and the <code title=event-undo><a href=#event-undo>undo</a></code> and <code title=event-redo><a href=#event-redo>redo</a></code> events</h4>
 
   <pre class=idl>interface <dfn id=undomanagerevent>UndoManagerEvent</dfn> : <a href=#event>Event</a> {
   readonly attribute any <a href=#dom-undomanagerevent-data title=dom-UndoManagerEvent-data>data</a>;
@@ -69843,7 +69795,7 @@
 
   <div class=impl>
 
-  <h4 id=implementation-notes><span class=secno>8.9.6 </span>Implementation notes</h4>
+  <h4 id=implementation-notes><span class=secno>8.8.6 </span>Implementation notes</h4>
 
   <p>How user agents present the above conceptual model to the user is
   not defined. The undo interface could be a filtered view of the
@@ -69866,7 +69818,7 @@
 
 
 
-  <h3 id=editing-apis><span class=secno>8.10 </span>Editing APIs</h3>
+  <h3 id=editing-apis><span class=secno>8.9 </span>Editing APIs</h3>
 
   <dl class=domintro><dt><var title="">document</var> . <code title=dom-document-execCommand><a href=#execCommand>execCommand</a></code>(<var title="">commandId</var> [, <var title="">showUI</var> [, <var title="">value</var> ] ] )</dt>
 
@@ -92702,6 +92654,10 @@
    <dd><cite><a href=http://dev.w3.org/csswg/cssom/>Cascading Style Sheets
    Object Model (CSSOM)</a></cite>, A. van Kesteren. W3C.</dd>
 
+   <dt id=refsCSSOMVIEW>[CSSOMVIEW]</dt>
+   <dd><cite><a href=http://dev.w3.org/csswg/cssom-view/>CSSOM View
+   Module</a></cite>, A. van Kesteren. W3C.</dd>
+
    <dt id=refsCSSRUBY>[CSSRUBY]</dt>
    <dd><cite><a href=http://dev.w3.org/csswg/css3-ruby/>CSS3 Ruby
    Module</a></cite>, R. Ishida. W3C.</dd>

Modified: index
===================================================================
--- index	2010-10-13 18:45:03 UTC (rev 5619)
+++ index	2010-10-13 20:18:57 UTC (rev 5620)
@@ -947,45 +947,44 @@
   <ol>
    <li><a href=#the-hidden-attribute><span class=secno>8.1 </span>The <code>hidden</code> attribute</a></li>
    <li><a href=#activation><span class=secno>8.2 </span>Activation</a></li>
-   <li><a href=#scrolling-elements-into-view><span class=secno>8.3 </span>Scrolling elements into view</a></li>
-   <li><a href=#focus><span class=secno>8.4 </span>Focus</a>
+   <li><a href=#focus><span class=secno>8.3 </span>Focus</a>
     <ol>
-     <li><a href=#sequential-focus-navigation-and-the-tabindex-attribute><span class=secno>8.4.1 </span>Sequential focus navigation and the <code title=attr-tabindex>tabindex</code> attribute</a></li>
-     <li><a href=#focus-management><span class=secno>8.4.2 </span>Focus management</a></li>
-     <li><a href=#document-level-focus-apis><span class=secno>8.4.3 </span>Document-level focus APIs</a></li>
-     <li><a href=#element-level-focus-apis><span class=secno>8.4.4 </span>Element-level focus APIs</a></ol></li>
-   <li><a href=#assigning-keyboard-shortcuts><span class=secno>8.5 </span>Assigning keyboard shortcuts</a>
+     <li><a href=#sequential-focus-navigation-and-the-tabindex-attribute><span class=secno>8.3.1 </span>Sequential focus navigation and the <code title=attr-tabindex>tabindex</code> attribute</a></li>
+     <li><a href=#focus-management><span class=secno>8.3.2 </span>Focus management</a></li>
+     <li><a href=#document-level-focus-apis><span class=secno>8.3.3 </span>Document-level focus APIs</a></li>
+     <li><a href=#element-level-focus-apis><span class=secno>8.3.4 </span>Element-level focus APIs</a></ol></li>
+   <li><a href=#assigning-keyboard-shortcuts><span class=secno>8.4 </span>Assigning keyboard shortcuts</a>
     <ol>
-     <li><a href=#introduction-6><span class=secno>8.5.1 </span>Introduction</a></li>
-     <li><a href=#the-accesskey-attribute><span class=secno>8.5.2 </span>The <code>accesskey</code> attribute</a></li>
-     <li><a href=#processing-model-3><span class=secno>8.5.3 </span>Processing model</a></ol></li>
-   <li><a href=#contenteditable><span class=secno>8.6 </span>The <code title=attr-contenteditable>contenteditable</code> attribute</a>
+     <li><a href=#introduction-6><span class=secno>8.4.1 </span>Introduction</a></li>
+     <li><a href=#the-accesskey-attribute><span class=secno>8.4.2 </span>The <code>accesskey</code> attribute</a></li>
+     <li><a href=#processing-model-3><span class=secno>8.4.3 </span>Processing model</a></ol></li>
+   <li><a href=#contenteditable><span class=secno>8.5 </span>The <code title=attr-contenteditable>contenteditable</code> attribute</a>
     <ol>
-     <li><a href=#user-editing-actions><span class=secno>8.6.1 </span>User editing actions</a></li>
-     <li><a href=#making-entire-documents-editable><span class=secno>8.6.2 </span>Making entire documents editable</a></ol></li>
-   <li><a href=#spelling-and-grammar-checking><span class=secno>8.7 </span>Spelling and grammar checking</a></li>
-   <li><a href=#dnd><span class=secno>8.8 </span>Drag and drop</a>
+     <li><a href=#user-editing-actions><span class=secno>8.5.1 </span>User editing actions</a></li>
+     <li><a href=#making-entire-documents-editable><span class=secno>8.5.2 </span>Making entire documents editable</a></ol></li>
+   <li><a href=#spelling-and-grammar-checking><span class=secno>8.6 </span>Spelling and grammar checking</a></li>
+   <li><a href=#dnd><span class=secno>8.7 </span>Drag and drop</a>
     <ol>
-     <li><a href=#introduction-7><span class=secno>8.8.1 </span>Introduction</a></li>
-     <li><a href=#the-dragevent-and-datatransfer-interfaces><span class=secno>8.8.2 </span>The <code>DragEvent</code> and <code>DataTransfer</code> interfaces</a></li>
-     <li><a href=#dndevents><span class=secno>8.8.3 </span>Events fired during a drag-and-drop action</a></li>
-     <li><a href=#drag-and-drop-processing-model><span class=secno>8.8.4 </span>Drag-and-drop processing model</a>
+     <li><a href=#introduction-7><span class=secno>8.7.1 </span>Introduction</a></li>
+     <li><a href=#the-dragevent-and-datatransfer-interfaces><span class=secno>8.7.2 </span>The <code>DragEvent</code> and <code>DataTransfer</code> interfaces</a></li>
+     <li><a href=#dndevents><span class=secno>8.7.3 </span>Events fired during a drag-and-drop action</a></li>
+     <li><a href=#drag-and-drop-processing-model><span class=secno>8.7.4 </span>Drag-and-drop processing model</a>
       <ol>
-       <li><a href=#when-the-drag-and-drop-operation-starts-or-ends-in-another-document><span class=secno>8.8.4.1 </span>When the drag-and-drop operation starts or ends in another
+       <li><a href=#when-the-drag-and-drop-operation-starts-or-ends-in-another-document><span class=secno>8.7.4.1 </span>When the drag-and-drop operation starts or ends in another
   document</a></li>
-       <li><a href=#when-the-drag-and-drop-operation-starts-or-ends-in-another-application><span class=secno>8.8.4.2 </span>When the drag-and-drop operation starts or ends in another
+       <li><a href=#when-the-drag-and-drop-operation-starts-or-ends-in-another-application><span class=secno>8.7.4.2 </span>When the drag-and-drop operation starts or ends in another
   application</a></ol></li>
-     <li><a href=#the-draggable-attribute><span class=secno>8.8.5 </span>The <code>draggable</code> attribute</a></li>
-     <li><a href=#security-risks-in-the-drag-and-drop-model><span class=secno>8.8.6 </span>Security risks in the drag-and-drop model</a></ol></li>
-   <li><a href=#undo><span class=secno>8.9 </span>Undo history</a>
+     <li><a href=#the-draggable-attribute><span class=secno>8.7.5 </span>The <code>draggable</code> attribute</a></li>
+     <li><a href=#security-risks-in-the-drag-and-drop-model><span class=secno>8.7.6 </span>Security risks in the drag-and-drop model</a></ol></li>
+   <li><a href=#undo><span class=secno>8.8 </span>Undo history</a>
     <ol>
-     <li><a href=#definitions-2><span class=secno>8.9.1 </span>Definitions</a></li>
-     <li><a href=#the-undomanager-interface><span class=secno>8.9.2 </span>The <code>UndoManager</code> interface</a></li>
-     <li><a href=#undo:-moving-back-in-the-undo-transaction-history><span class=secno>8.9.3 </span>Undo: moving back in the undo transaction history</a></li>
-     <li><a href=#redo:-moving-forward-in-the-undo-transaction-history><span class=secno>8.9.4 </span>Redo: moving forward in the undo transaction history</a></li>
-     <li><a href=#the-undomanagerevent-interface-and-the-undo-and-redo-events><span class=secno>8.9.5 </span>The <code>UndoManagerEvent</code> interface and the <code title=event-undo>undo</code> and <code title=event-redo>redo</code> events</a></li>
-     <li><a href=#implementation-notes><span class=secno>8.9.6 </span>Implementation notes</a></ol></li>
-   <li><a href=#editing-apis><span class=secno>8.10 </span>Editing APIs</a></ol></li>
+     <li><a href=#definitions-2><span class=secno>8.8.1 </span>Definitions</a></li>
+     <li><a href=#the-undomanager-interface><span class=secno>8.8.2 </span>The <code>UndoManager</code> interface</a></li>
+     <li><a href=#undo:-moving-back-in-the-undo-transaction-history><span class=secno>8.8.3 </span>Undo: moving back in the undo transaction history</a></li>
+     <li><a href=#redo:-moving-forward-in-the-undo-transaction-history><span class=secno>8.8.4 </span>Redo: moving forward in the undo transaction history</a></li>
+     <li><a href=#the-undomanagerevent-interface-and-the-undo-and-redo-events><span class=secno>8.8.5 </span>The <code>UndoManagerEvent</code> interface and the <code title=event-undo>undo</code> and <code title=event-redo>redo</code> events</a></li>
+     <li><a href=#implementation-notes><span class=secno>8.8.6 </span>Implementation notes</a></ol></li>
+   <li><a href=#editing-apis><span class=secno>8.9 </span>Editing APIs</a></ol></li>
  <li><a href=#comms><span class=secno>9 </span>Communication</a>
   <ol>
    <li><a href=#event-definitions-0><span class=secno>9.1 </span>Event definitions</a></li>
@@ -9146,8 +9145,6 @@
   // <a href=#editing>user interaction</a>
            attribute boolean <a href=#dom-hidden title=dom-hidden>hidden</a>;
   void <a href=#dom-click title=dom-click>click</a>();
-  void <a href=#dom-scrollintoview title=dom-scrollIntoView>scrollIntoView</a>();
-  void <a href=#dom-scrollintoview title=dom-scrollIntoView>scrollIntoView</a>(in boolean top);
            attribute long <a href=#dom-tabindex title=dom-tabindex>tabIndex</a>;
   void <a href=#dom-focus title=dom-focus>focus</a>();
   void <a href=#dom-blur title=dom-blur>blur</a>();
@@ -61836,10 +61833,11 @@
 
   <hr><p>When the user agent is required to <dfn id=scroll-to-the-fragment-identifier>scroll to the fragment
   identifier</dfn>, it must change the scrolling position of the
-  document, or perform some other action, such that <a href=#the-indicated-part-of-the-document>the
-  indicated part of the document</a> is brought to the user's
-  attention. If there is no indicated part, then the user agent must
-  not scroll anywhere.</p>
+  document using the <span>scroll an element into view</span>
+  algorithm defined in the CSSOM View specification, or perform some
+  other action, such that <a href=#the-indicated-part-of-the-document>the indicated part of the
+  document</a> is brought to the user's attention. If there is no
+  indicated part, then the user agent must not scroll anywhere. <a href=#refsCSSOMVIEW>[CSSOMVIEW]</a></p>
 
   <p><dfn id=the-indicated-part-of-the-document>The indicated part of the document</dfn> is the one that the
   fragment identifier, if any, identifies. The semantics of the
@@ -67047,54 +67045,8 @@
   </ol></div>
 
 
-  <h3 id=scrolling-elements-into-view><span class=secno>8.3 </span>Scrolling elements into view</h3> <!-- maybe this should move to [CSSOM] -->
+  <h3 id=focus><span class=secno>8.3 </span>Focus</h3>
 
-  <dl class=domintro><dt><var title="">element</var> . <code title=dom-scrollIntoView><a href=#dom-scrollintoview>scrollIntoView</a></code>( [ <var title="">top</var> ] )</dt>
-
-   <dd>
-
-    <p>Scrolls the element into view. If the <var title="">top</var>
-    argument is true, then the element will be scrolled to the top of
-    the viewport, otherwise it'll be scrolled to the bottom. The
-    default is the top.</p>
-
-   </dd>
-
-  </dl><div class=impl>
-
-  <p>The <dfn id=dom-scrollintoview title=dom-scrollIntoView><code>scrollIntoView([<var title="">top</var>])</code></dfn> method, when called, must cause
-  the element on which the method was called to have the attention of
-  the user called to it.</p>
-
-  <p class=note>In a speech browser, this could happen by having the
-  current playback position move to the start of the given
-  element.</p>
-
-  <p>If the element in question cannot be brought to the user's
-  attention, e.g. because it is <code title=attr-hidden><a href=#the-hidden-attribute>hidden</a></code>, or is not <a href=#being-rendered>being
-  rendered</a>, then the user agent must do nothing instead.</p>
-
-  <p>In visual user agents, if the argument is present and has the
-  value false, the user agent should scroll the element into view such
-  that both the bottom and the top of the element are in the viewport,
-  with the bottom of the element aligned with the bottom of the
-  viewport. If it isn't possible to show the entire element in that
-  way, or if the argument is omitted or is true, then the user agent
-  should instead align the top of the element with the top of the
-  viewport. If the entire scrollable part of the content is visible
-  all at once (e.g. if a page is shorter than the viewport), then the
-  user agent should not scroll anything. Visual user agents should
-  further scroll horizontally as necessary to bring the element to the
-  attention of the user.</p>
-
-  <p>Non-visual user agents may ignore the argument, or may treat it
-  in some media-specific manner most useful to the user.</p>
-
-  </div>
-
-
-  <h3 id=focus><span class=secno>8.4 </span>Focus</h3>
-
   <!-- http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C!DOCTYPE%20html%3E%20%0A...%3Cform%3E%3Cinput%20name%3Da%20onfocus%3D%22value%2B%3D1%3Bd.name%3D%27a%27%3Bname%3D%27d%27%3Bb.focus()%22%3E%0A%3Cinput%20name%3Db%20onfocus%3D%22value%2B%3D1%3Bc.focus()%22%3E%0A%3Cinput%20name%3Dc%20onfocus%3D%22value%2B%3D1%3Bd.focus()%22%3E%0A%3Cinput%20name%3Dd%20onfocus%3D%22value%2B%3D1%3Ba.focus()%22%3E -->
 
   <!-- http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C!DOCTYPE%20html%3E%0A...%3Cform%3E%0A%3Ctextarea%20name%3Dt%20cols%3D100%20rows%3D3%3E%3C%2Ftextarea%3E%3Cp%3E%0A%3Cinput%20name%3Da%20onfocus%3D%22t.value%2B%3D%27af1%20%27%3Bb.focus()%3Balert(document.activeElement.name)%3Bt.value%2B%3D%27af2%20%27%3B%22%20onblur%3D%22t.value%2B%3D%27ab%20%27%3B%22%3E%0A%3Cinput%20name%3Db%20onfocus%3D%22t.value%2B%3D%27bf1%20%27%3Bc.focus()%3Bt.value%2B%3D%27bf2%20%27%3B%22%20onblur%3D%22t.value%2B%3D%27bb%20%27%3B%22%3E%0A%3Cinput%20name%3Dc%20onfocus%3D%22t.value%2B%3D%27cf1%20%27%3Bc.focus()%3Bt.value%2B%3D%27cf2%20%27%3B%22%20onblur%3D%22t.value%2B%3D%27cb%20%27%3B%22%3E%0A -->
@@ -67137,7 +67089,7 @@
   </div>
 
 
-  <h4 id=sequential-focus-navigation-and-the-tabindex-attribute><span class=secno>8.4.1 </span>Sequential focus navigation and the <code title=attr-tabindex><a href=#attr-tabindex>tabindex</a></code> attribute</h4>
+  <h4 id=sequential-focus-navigation-and-the-tabindex-attribute><span class=secno>8.3.1 </span>Sequential focus navigation and the <code title=attr-tabindex><a href=#attr-tabindex>tabindex</a></code> attribute</h4>
 
   <p>The <dfn id=attr-tabindex title=attr-tabindex><code>tabindex</code></dfn>
   content attribute specifies whether the element is focusable,
@@ -67250,7 +67202,7 @@
 
   <div class=impl>
 
-  <h4 id=focus-management><span class=secno>8.4.2 </span>Focus management</h4>
+  <h4 id=focus-management><span class=secno>8.3.2 </span>Focus management</h4>
 
   <p>An element is <dfn id=focusable>focusable</dfn> if the user agent's default
   behavior allows it to be focusable or if the element is
@@ -67351,7 +67303,7 @@
   </div>
 
 
-  <h4 id=document-level-focus-apis><span class=secno>8.4.3 </span>Document-level focus APIs</h4>
+  <h4 id=document-level-focus-apis><span class=secno>8.3.3 </span>Document-level focus APIs</h4>
 
   <dl class=domintro><dt><var title="">document</var> . <code title=dom-document-activeElement><a href=#dom-document-activeelement>activeElement</a></code></dt>
 
@@ -67426,7 +67378,7 @@
   </div>
 
 
-  <h4 id=element-level-focus-apis><span class=secno>8.4.4 </span>Element-level focus APIs</h4>
+  <h4 id=element-level-focus-apis><span class=secno>8.3.4 </span>Element-level focus APIs</h4>
 
   <dl class=domintro><dt><var title="">element</var> . <code title=dom-focus><a href=#dom-focus>focus</a></code>()</dt>
 
@@ -67492,9 +67444,9 @@
 
 
 
-  <h3 id=assigning-keyboard-shortcuts><span class=secno>8.5 </span>Assigning keyboard shortcuts</h3>
+  <h3 id=assigning-keyboard-shortcuts><span class=secno>8.4 </span>Assigning keyboard shortcuts</h3>
 
-  <h4 id=introduction-6><span class=secno>8.5.1 </span>Introduction</h4>
+  <h4 id=introduction-6><span class=secno>8.4.1 </span>Introduction</h4>
 
   <p><i>This section is non-normative.</i></p>
 
@@ -67520,7 +67472,7 @@
   the user agent.</p>
 
 
-  <h4 id=the-accesskey-attribute><span class=secno>8.5.2 </span>The <dfn title=attr-accesskey><code>accesskey</code></dfn> attribute</h4>
+  <h4 id=the-accesskey-attribute><span class=secno>8.4.2 </span>The <dfn title=attr-accesskey><code>accesskey</code></dfn> attribute</h4>
 
   <p>All <a href=#html-elements>HTML elements</a> may have the <code title=attr-accesskey><a href=#the-accesskey-attribute>accesskey</a></code> content attribute set. The
   <code title=attr-accesskey><a href=#the-accesskey-attribute>accesskey</a></code> attribute's value is
@@ -67598,7 +67550,7 @@
 
   <div class=impl>
 
-  <h4 id=processing-model-3><span class=secno>8.5.3 </span>Processing model</h4>
+  <h4 id=processing-model-3><span class=secno>8.4.3 </span>Processing model</h4>
 
   <p>An element's <dfn id=assigned-access-key>assigned access key</dfn> is a key combination
   derived from the element's <code title=attr-accesskey><a href=#the-accesskey-attribute>accesskey</a></code> content attribute as
@@ -67668,7 +67620,7 @@
 
 
 
-  <h3 id=contenteditable><span class=secno>8.6 </span>The <code title=attr-contenteditable><a href=#attr-contenteditable>contenteditable</a></code> attribute</h3>
+  <h3 id=contenteditable><span class=secno>8.5 </span>The <code title=attr-contenteditable><a href=#attr-contenteditable>contenteditable</a></code> attribute</h3>
 
   <p>The <dfn id=attr-contenteditable title=attr-contenteditable><code>contenteditable</code></dfn>
   attribute is an <a href=#enumerated-attribute>enumerated attribute</a> whose keywords are
@@ -67773,7 +67725,7 @@
 
   <div class=impl>
 
-  <h4 id=user-editing-actions><span class=secno>8.6.1 </span>User editing actions</h4>
+  <h4 id=user-editing-actions><span class=secno>8.5.1 </span>User editing actions</h4>
 
   <p>There are several actions that the user agent should allow the
   user to perform while the user is interacting with an editing
@@ -67962,7 +67914,7 @@
 
 
 
-  <h4 id=making-entire-documents-editable><span class=secno>8.6.2 </span>Making entire documents editable</h4>
+  <h4 id=making-entire-documents-editable><span class=secno>8.5.2 </span>Making entire documents editable</h4>
 
   <div class=impl>
 
@@ -68004,7 +67956,7 @@
 
 
 
-  <h3 id=spelling-and-grammar-checking><span class=secno>8.7 </span>Spelling and grammar checking</h3>
+  <h3 id=spelling-and-grammar-checking><span class=secno>8.6 </span>Spelling and grammar checking</h3>
 
   <div class=impl>
 
@@ -68196,7 +68148,7 @@
   the checking is enabled, or could use other interfaces.</p>
 
 
-  <h3 id=dnd><span class=secno>8.8 </span><dfn>Drag and drop</dfn></h3>
+  <h3 id=dnd><span class=secno>8.7 </span><dfn>Drag and drop</dfn></h3>
 
 <!-- v2 ideas for drag and drop:
 
@@ -68299,7 +68251,7 @@
   </div>
 
 
-  <h4 id=introduction-7><span class=secno>8.8.1 </span>Introduction</h4>
+  <h4 id=introduction-7><span class=secno>8.7.1 </span>Introduction</h4>
 
   <p><i>This section is non-normative.</i></p>
 
@@ -68409,7 +68361,7 @@
 
 
 
-  <h4 id=the-dragevent-and-datatransfer-interfaces><span class=secno>8.8.2 </span>The <code><a href=#dragevent>DragEvent</a></code> and <code><a href=#datatransfer>DataTransfer</a></code> interfaces</h4>
+  <h4 id=the-dragevent-and-datatransfer-interfaces><span class=secno>8.7.2 </span>The <code><a href=#dragevent>DragEvent</a></code> and <code><a href=#datatransfer>DataTransfer</a></code> interfaces</h4>
 
   <p>The drag-and-drop processing model involves several events. They
   all use the <code><a href=#dragevent>DragEvent</a></code> interface.</p>
@@ -68661,7 +68613,7 @@
   </div>
 
 
-  <h4 id=dndevents><span class=secno>8.8.3 </span>Events fired during a drag-and-drop action</h4>
+  <h4 id=dndevents><span class=secno>8.7.3 </span>Events fired during a drag-and-drop action</h4>
 
   <p>The following events are involved in the drag-and-drop
   model.</p>
@@ -68800,7 +68752,7 @@
 
   <div class=impl>
 
-  <h4 id=drag-and-drop-processing-model><span class=secno>8.8.4 </span>Drag-and-drop processing model</h4>
+  <h4 id=drag-and-drop-processing-model><span class=secno>8.7.4 </span>Drag-and-drop processing model</h4>
 
   <p>When the user attempts to begin a drag operation, the user agent
   must first determine what is being dragged. If the drag operation
@@ -69318,7 +69270,7 @@
 
   <div class=impl>
 
-  <h5 id=when-the-drag-and-drop-operation-starts-or-ends-in-another-document><span class=secno>8.8.4.1 </span>When the drag-and-drop operation starts or ends in another
+  <h5 id=when-the-drag-and-drop-operation-starts-or-ends-in-another-document><span class=secno>8.7.4.1 </span>When the drag-and-drop operation starts or ends in another
   document</h5>
 
   <p>The model described above is independent of which
@@ -69333,7 +69285,7 @@
 
   <div class=impl>
 
-  <h5 id=when-the-drag-and-drop-operation-starts-or-ends-in-another-application><span class=secno>8.8.4.2 </span>When the drag-and-drop operation starts or ends in another
+  <h5 id=when-the-drag-and-drop-operation-starts-or-ends-in-another-application><span class=secno>8.7.4.2 </span>When the drag-and-drop operation starts or ends in another
   application</h5>
 
   <p>If the drag is initiated in another application, the <a href=#source-node>source
@@ -69363,7 +69315,7 @@
   </div>
 
 
-  <h4 id=the-draggable-attribute><span class=secno>8.8.5 </span>The <dfn title=attr-draggable><code>draggable</code></dfn> attribute</h4>
+  <h4 id=the-draggable-attribute><span class=secno>8.7.5 </span>The <dfn title=attr-draggable><code>draggable</code></dfn> attribute</h4>
 
   <p>All <a href=#html-elements>HTML elements</a> may have the <code title=attr-draggable><a href=#the-draggable-attribute>draggable</a></code> content attribute set. The
   <code title=attr-draggable><a href=#the-draggable-attribute>draggable</a></code> attribute is an
@@ -69505,7 +69457,7 @@
 
   <div class=impl>
 
-  <h4 id=security-risks-in-the-drag-and-drop-model><span class=secno>8.8.6 </span>Security risks in the drag-and-drop model</h4>
+  <h4 id=security-risks-in-the-drag-and-drop-model><span class=secno>8.7.6 </span>Security risks in the drag-and-drop model</h4>
 
   <p>User agents must not make the data added to the
   <code><a href=#datatransfer>DataTransfer</a></code> object during the <code title=event-dragstart><a href=#event-dragstart>dragstart</a></code> event available to scripts
@@ -69531,11 +69483,11 @@
   </div>
 
 
-  <h3 id=undo><span class=secno>8.9 </span><dfn>Undo history</dfn></h3>
+  <h3 id=undo><span class=secno>8.8 </span><dfn>Undo history</dfn></h3>
 
   <div class=impl>
 
-  <h4 id=definitions-2><span class=secno>8.9.1 </span>Definitions</h4>
+  <h4 id=definitions-2><span class=secno>8.8.1 </span>Definitions</h4>
 
   <p>The user agent must associate an <dfn id=undo-transaction-history>undo transaction
   history</dfn> with each <code><a href=#htmldocument>HTMLDocument</a></code> object.</p>
@@ -69573,7 +69525,7 @@
   </div>
 
 
-  <h4 id=the-undomanager-interface><span class=secno>8.9.2 </span>The <code><a href=#undomanager>UndoManager</a></code> interface</h4>
+  <h4 id=the-undomanager-interface><span class=secno>8.8.2 </span>The <code><a href=#undomanager>UndoManager</a></code> interface</h4>
 
   <p>To manage <a href=#undo-object>undo object</a> entries in the <a href=#undo-transaction-history>undo
   transaction history</a>, the <code><a href=#undomanager>UndoManager</a></code>
@@ -69740,7 +69692,7 @@
 
   <div class=impl>
 
-  <h4 id=undo:-moving-back-in-the-undo-transaction-history><span class=secno>8.9.3 </span><dfn title=do-undo>Undo: moving back in the undo transaction history</dfn></h4>
+  <h4 id=undo:-moving-back-in-the-undo-transaction-history><span class=secno>8.8.3 </span><dfn title=do-undo>Undo: moving back in the undo transaction history</dfn></h4>
 
   <p>When the user invokes an undo operation, or when the <code title=dom-document-execCommand><a href=#execCommand>execCommand()</a></code> method is
   called with the <code title=command-undo><a href=#command-undo>undo</a></code> command, the
@@ -69777,7 +69729,7 @@
   command to undo his undo.</p>
 
 
-  <h4 id=redo:-moving-forward-in-the-undo-transaction-history><span class=secno>8.9.4 </span><dfn title=do-redo>Redo: moving forward in the undo transaction history</dfn></h4>
+  <h4 id=redo:-moving-forward-in-the-undo-transaction-history><span class=secno>8.8.4 </span><dfn title=do-redo>Redo: moving forward in the undo transaction history</dfn></h4>
 
   <p>When the user invokes a redo operation, or when the <code title=dom-document-execCommand><a href=#execCommand>execCommand()</a></code> method is
   called with the <code title=command-redo><a href=#command-redo>redo</a></code> command, the
@@ -69814,7 +69766,7 @@
   </div>
 
 
-  <h4 id=the-undomanagerevent-interface-and-the-undo-and-redo-events><span class=secno>8.9.5 </span>The <code><a href=#undomanagerevent>UndoManagerEvent</a></code> interface and the <code title=event-undo><a href=#event-undo>undo</a></code> and <code title=event-redo><a href=#event-redo>redo</a></code> events</h4>
+  <h4 id=the-undomanagerevent-interface-and-the-undo-and-redo-events><span class=secno>8.8.5 </span>The <code><a href=#undomanagerevent>UndoManagerEvent</a></code> interface and the <code title=event-undo><a href=#event-undo>undo</a></code> and <code title=event-redo><a href=#event-redo>redo</a></code> events</h4>
 
   <pre class=idl>interface <dfn id=undomanagerevent>UndoManagerEvent</dfn> : <a href=#event>Event</a> {
   readonly attribute any <a href=#dom-undomanagerevent-data title=dom-UndoManagerEvent-data>data</a>;
@@ -69849,7 +69801,7 @@
 
   <div class=impl>
 
-  <h4 id=implementation-notes><span class=secno>8.9.6 </span>Implementation notes</h4>
+  <h4 id=implementation-notes><span class=secno>8.8.6 </span>Implementation notes</h4>
 
   <p>How user agents present the above conceptual model to the user is
   not defined. The undo interface could be a filtered view of the
@@ -69872,7 +69824,7 @@
 
 
 
-  <h3 id=editing-apis><span class=secno>8.10 </span>Editing APIs</h3>
+  <h3 id=editing-apis><span class=secno>8.9 </span>Editing APIs</h3>
 
   <dl class=domintro><dt><var title="">document</var> . <code title=dom-document-execCommand><a href=#execCommand>execCommand</a></code>(<var title="">commandId</var> [, <var title="">showUI</var> [, <var title="">value</var> ] ] )</dt>
 
@@ -88753,6 +88705,10 @@
    <dd><cite><a href=http://dev.w3.org/csswg/cssom/>Cascading Style Sheets
    Object Model (CSSOM)</a></cite>, A. van Kesteren. W3C.</dd>
 
+   <dt id=refsCSSOMVIEW>[CSSOMVIEW]</dt>
+   <dd><cite><a href=http://dev.w3.org/csswg/cssom-view/>CSSOM View
+   Module</a></cite>, A. van Kesteren. W3C.</dd>
+
    <dt id=refsCSSRUBY>[CSSRUBY]</dt>
    <dd><cite><a href=http://dev.w3.org/csswg/css3-ruby/>CSS3 Ruby
    Module</a></cite>, R. Ishida. W3C.</dd>

Modified: source
===================================================================
--- source	2010-10-13 18:45:03 UTC (rev 5619)
+++ source	2010-10-13 20:18:57 UTC (rev 5620)
@@ -9251,8 +9251,6 @@
   // <span>user interaction</span>
            attribute boolean <span title="dom-hidden">hidden</span>;
   void <span title="dom-click">click</span>();
-  void <span title="dom-scrollIntoView">scrollIntoView</span>();
-  void <span title="dom-scrollIntoView">scrollIntoView</span>(in boolean top);
            attribute long <span title="dom-tabindex">tabIndex</span>;
   void <span title="dom-focus">focus</span>();
   void <span title="dom-blur">blur</span>();
@@ -69910,10 +69908,12 @@
 
   <p>When the user agent is required to <dfn>scroll to the fragment
   identifier</dfn>, it must change the scrolling position of the
-  document, or perform some other action, such that <span>the
-  indicated part of the document</span> is brought to the user's
-  attention. If there is no indicated part, then the user agent must
-  not scroll anywhere.</p>
+  document using the <span>scroll an element into view</span>
+  algorithm defined in the CSSOM View specification, or perform some
+  other action, such that <span>the indicated part of the
+  document</span> is brought to the user's attention. If there is no
+  indicated part, then the user agent must not scroll anywhere. <a
+  href="#refsCSSOMVIEW">[CSSOMVIEW]</a></p>
 
   <p><dfn>The indicated part of the document</dfn> is the one that the
   fragment identifier, if any, identifies. The semantics of the
@@ -75991,58 +75991,6 @@
   </div>
 
 
-  <h3>Scrolling elements into view</h3> <!-- maybe this should move to [CSSOM] -->
-
-  <dl class="domintro">
-
-   <dt><var title="">element</var> . <code title="dom-scrollIntoView">scrollIntoView</code>( [ <var title="">top</var> ] )</dt>
-
-   <dd>
-
-    <p>Scrolls the element into view. If the <var title="">top</var>
-    argument is true, then the element will be scrolled to the top of
-    the viewport, otherwise it'll be scrolled to the bottom. The
-    default is the top.</p>
-
-   </dd>
-
-  </dl>
-
-  <div class="impl">
-
-  <p>The <dfn title="dom-scrollIntoView"><code>scrollIntoView([<var
-  title="">top</var>])</code></dfn> method, when called, must cause
-  the element on which the method was called to have the attention of
-  the user called to it.</p>
-
-  <p class="note">In a speech browser, this could happen by having the
-  current playback position move to the start of the given
-  element.</p>
-
-  <p>If the element in question cannot be brought to the user's
-  attention, e.g. because it is <code
-  title="attr-hidden">hidden</code>, or is not <span>being
-  rendered</span>, then the user agent must do nothing instead.</p>
-
-  <p>In visual user agents, if the argument is present and has the
-  value false, the user agent should scroll the element into view such
-  that both the bottom and the top of the element are in the viewport,
-  with the bottom of the element aligned with the bottom of the
-  viewport. If it isn't possible to show the entire element in that
-  way, or if the argument is omitted or is true, then the user agent
-  should instead align the top of the element with the top of the
-  viewport. If the entire scrollable part of the content is visible
-  all at once (e.g. if a page is shorter than the viewport), then the
-  user agent should not scroll anything. Visual user agents should
-  further scroll horizontally as necessary to bring the element to the
-  attention of the user.</p>
-
-  <p>Non-visual user agents may ignore the argument, or may treat it
-  in some media-specific manner most useful to the user.</p>
-
-  </div>
-
-
   <h3>Focus</h3>
 
   <!-- http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C!DOCTYPE%20html%3E%20%0A...%3Cform%3E%3Cinput%20name%3Da%20onfocus%3D%22value%2B%3D1%3Bd.name%3D%27a%27%3Bname%3D%27d%27%3Bb.focus()%22%3E%0A%3Cinput%20name%3Db%20onfocus%3D%22value%2B%3D1%3Bc.focus()%22%3E%0A%3Cinput%20name%3Dc%20onfocus%3D%22value%2B%3D1%3Bd.focus()%22%3E%0A%3Cinput%20name%3Dd%20onfocus%3D%22value%2B%3D1%3Ba.focus()%22%3E -->
@@ -106388,6 +106336,10 @@
    <dd><cite><a href="http://dev.w3.org/csswg/cssom/">Cascading Style Sheets
    Object Model (CSSOM)</a></cite>, A. van Kesteren. W3C.</dd>
 
+   <dt id="refsCSSOMVIEW">[CSSOMVIEW]</dt>
+   <dd><cite><a href="http://dev.w3.org/csswg/cssom-view/">CSSOM View
+   Module</a></cite>, A. van Kesteren. W3C.</dd>
+
    <dt id="refsCSSRUBY">[CSSRUBY]</dt>
    <dd><cite><a href="http://dev.w3.org/csswg/css3-ruby/">CSS3 Ruby
    Module</a></cite>, R. Ishida. W3C.</dd>




More information about the Commit-Watchers mailing list