[html5] r8323 - [giow] (0) Make the fragment identifier handling rules match browsers better Aff [...]

whatwg at whatwg.org whatwg at whatwg.org
Mon Dec 2 15:55:16 PST 2013


Author: ianh
Date: 2013-12-02 15:55:15 -0800 (Mon, 02 Dec 2013)
New Revision: 8323

Modified:
   complete.html
   index
   source
Log:
[giow] (0) Make the fragment identifier handling rules match browsers better
Affected topics: HTML

Modified: complete.html
===================================================================
--- complete.html	2013-12-02 23:07:51 UTC (rev 8322)
+++ complete.html	2013-12-02 23:55:15 UTC (rev 8323)
@@ -67490,10 +67490,13 @@
    document</a>, as defined below.</li>
 
    <li><p>If <var title="">target</var> is the top of the document, then <a href=#scroll-to-the-beginning-of-the-document>scroll to the
-   beginning of the document</a> for the <code><a href=#document>Document</a></code>. <a href=#refsCSSOMVIEW>[CSSOMVIEW]</a></li>
+   beginning of the document</a> for the <code><a href=#document>Document</a></code>, and abort these steps. <a href=#refsCSSOMVIEW>[CSSOMVIEW]</a></li>
 
-   <li><p>Otherwise, use the <a href=#scroll-an-element-into-view>scroll an element into view</a> algorithm to scroll <var title="">target</var> into view, with the <var title="">align to top flag</var> set. <a href=#refsCSSOMVIEW>[CSSOMVIEW]</a></li>
+   <li><p>Use the <a href=#scroll-an-element-into-view>scroll an element into view</a> algorithm to scroll <var title="">target</var> into view, with the <var title="">align to top flag</var> set. <a href=#refsCSSOMVIEW>[CSSOMVIEW]</a></li>
 
+   <li><p>If <var title="">target</var> is a <a href=#focusable>focusable</a> element, run the <a href=#focusing-steps>focusing
+   steps</a> for that element.</li>
+
   </ol><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 fragment identifier in terms of mapping it to a specific DOM Node
   is defined by the specification that defines the <a href=#mime-type>MIME type</a> used by the

Modified: index
===================================================================
--- index	2013-12-02 23:07:51 UTC (rev 8322)
+++ index	2013-12-02 23:55:15 UTC (rev 8323)
@@ -67490,10 +67490,13 @@
    document</a>, as defined below.</li>
 
    <li><p>If <var title="">target</var> is the top of the document, then <a href=#scroll-to-the-beginning-of-the-document>scroll to the
-   beginning of the document</a> for the <code><a href=#document>Document</a></code>. <a href=#refsCSSOMVIEW>[CSSOMVIEW]</a></li>
+   beginning of the document</a> for the <code><a href=#document>Document</a></code>, and abort these steps. <a href=#refsCSSOMVIEW>[CSSOMVIEW]</a></li>
 
-   <li><p>Otherwise, use the <a href=#scroll-an-element-into-view>scroll an element into view</a> algorithm to scroll <var title="">target</var> into view, with the <var title="">align to top flag</var> set. <a href=#refsCSSOMVIEW>[CSSOMVIEW]</a></li>
+   <li><p>Use the <a href=#scroll-an-element-into-view>scroll an element into view</a> algorithm to scroll <var title="">target</var> into view, with the <var title="">align to top flag</var> set. <a href=#refsCSSOMVIEW>[CSSOMVIEW]</a></li>
 
+   <li><p>If <var title="">target</var> is a <a href=#focusable>focusable</a> element, run the <a href=#focusing-steps>focusing
+   steps</a> for that element.</li>
+
   </ol><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 fragment identifier in terms of mapping it to a specific DOM Node
   is defined by the specification that defines the <a href=#mime-type>MIME type</a> used by the

Modified: source
===================================================================
--- source	2013-12-02 23:07:51 UTC (rev 8322)
+++ source	2013-12-02 23:55:15 UTC (rev 8323)
@@ -75186,13 +75186,16 @@
    document</span>, as defined below.</p></li>
 
    <li><p>If <var data-x="">target</var> is the top of the document, then <span>scroll to the
-   beginning of the document</span> for the <code>Document</code>. <a
+   beginning of the document</span> for the <code>Document</code>, and abort these steps. <a
    href="#refsCSSOMVIEW">[CSSOMVIEW]</a></p></li>
 
-   <li><p>Otherwise, use the <span>scroll an element into view</span> algorithm to scroll <var
+   <li><p>Use the <span>scroll an element into view</span> algorithm to scroll <var
    data-x="">target</var> into view, with the <var data-x="">align to top flag</var> set. <a
    href="#refsCSSOMVIEW">[CSSOMVIEW]</a></p></li>
 
+   <li><p>If <var data-x="">target</var> is a <span>focusable</span> element, run the <span>focusing
+   steps</span> for that element.</p></li>
+
   </ol>
 
   <p><dfn>The indicated part of the document</dfn> is the one that the fragment identifier, if any,




More information about the Commit-Watchers mailing list