Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[giow] (0) Make the fragment identifier handling rules match browsers…
… better

Affected topics: HTML

git-svn-id: http://svn.whatwg.org/webapps@8323 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Dec 2, 2013
1 parent e996742 commit d24be27
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 6 deletions.
7 changes: 5 additions & 2 deletions complete.html
Expand Up @@ -67490,9 +67490,12 @@ <h4 id=scroll-to-fragid><span class=secno>6.6.9 </span><dfn title=navigate-fragi
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
Expand Down
7 changes: 5 additions & 2 deletions index
Expand Up @@ -67490,9 +67490,12 @@ State: &lt;OUTPUT NAME=I&gt;1&lt;/OUTPUT&gt; &lt;INPUT VALUE="Increment" TYPE=BU
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
Expand Down
7 changes: 5 additions & 2 deletions source
Expand Up @@ -75186,13 +75186,16 @@ State: &lt;OUTPUT NAME=I>1&lt;/OUTPUT> &lt;INPUT VALUE="Increment" TYPE=BUTTON O
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,
Expand Down

0 comments on commit d24be27

Please sign in to comment.