Skip to content

Commit

Permalink
[e] (0) Hyperlink 'tree order' everywhere
Browse files Browse the repository at this point in the history
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=25583
Affected topics: DOM APIs, HTML

git-svn-id: http://svn.whatwg.org/webapps@8699 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Aug 4, 2014
1 parent 0e7572a commit a4e15d5
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 49 deletions.
36 changes: 18 additions & 18 deletions complete.html
Expand Up @@ -291,7 +291,7 @@
</style><link rel=stylesheet href=status.css><body onload=init()>
<header id=head class="head with-buttons">
<p><a href=//www.whatwg.org/ class=logo><img src=/images/logo width=101 alt=WHATWG height=101></a></p>
<hgroup><h1 class=allcaps>HTML</h1><h2 id=living-standard-—-last-updated-[date:-01-jan-1901] class="no-num no-toc">Living Standard — Last Updated <span class=pubdate>1 August 2014</span></h2></hgroup>
<hgroup><h1 class=allcaps>HTML</h1><h2 id=living-standard-—-last-updated-[date:-01-jan-1901] class="no-num no-toc">Living Standard — Last Updated <span class=pubdate>4 August 2014</span></h2></hgroup>

<nav>
<div>
Expand Down Expand Up @@ -5999,7 +5999,7 @@ <h4 id=dom-tree-accessors>3.1.3 <dfn>DOM tree accessors</dfn></h4>
</dl>

<p><dfn id=the-title-element-2>The <code>title</code> element</dfn> of a document is the first <code id=dom-tree-accessors:the-title-element><a href=#the-title-element>title</a></code> element
in the document (in tree order), if there is one, or null otherwise.</p>
in the document (in <a href=#tree-order id=dom-tree-accessors:tree-order>tree order</a>), if there is one, or null otherwise.</p>



Expand All @@ -6010,7 +6010,7 @@ <h4 id=dom-tree-accessors>3.1.3 <dfn>DOM tree accessors</dfn></h4>
namespace</a>, then let <var>value</var> be a concatenation of the data of all the
child <code id=dom-tree-accessors:text><a href=#text>Text</a></code> nodes of the first <code>title</code> element in the <a href=#svg-namespace id=dom-tree-accessors:svg-namespace-2>SVG
namespace</a> that is a child of the <a href=#root-element id=dom-tree-accessors:root-element-2>root element</a>. <a href=#refsSVG>[SVG]</a><li><p>Otherwise, let <var>value</var> be a concatenation of the data of all the child
<code id=dom-tree-accessors:text-2><a href=#text>Text</a></code> nodes of <a href=#the-title-element-2 id=dom-tree-accessors:the-title-element-2-2>the <code>title</code> element</a>, in <a href=#tree-order id=dom-tree-accessors:tree-order>tree
<code id=dom-tree-accessors:text-2><a href=#text>Text</a></code> nodes of <a href=#the-title-element-2 id=dom-tree-accessors:the-title-element-2-2>the <code>title</code> element</a>, in <a href=#tree-order id=dom-tree-accessors:tree-order-2>tree
order</a>, or the empty string if <a href=#the-title-element-2 id=dom-tree-accessors:the-title-element-2-3>the <code>title</code> element</a> is
null.<li><p><a href=#strip-and-collapse-whitespace id=dom-tree-accessors:strip-and-collapse-whitespace>Strip and collapse whitespace</a> in <var>value</var>.<li><p>Return <var>value</var>.</ol>

Expand Down Expand Up @@ -6137,7 +6137,7 @@ <h4 id=dom-tree-accessors>3.1.3 <dfn>DOM tree accessors</dfn></h4>

<p>The <dfn id=dom-document-getelementsbyname><code>getElementsByName(<var>name</var>)</code></dfn> method takes a string <var>name</var>, and must
return a <a href=#live id=dom-tree-accessors:live>live</a> <code id=dom-tree-accessors:nodelist-2><a href=#nodelist>NodeList</a></code> containing all the <a href=#html-elements id=dom-tree-accessors:html-elements>HTML elements</a> in
that document that have a <code>name</code> attribute whose value is equal to the <var>name</var> argument (in a <a href=#case-sensitive id=dom-tree-accessors:case-sensitive>case-sensitive</a> manner), in <a href=#tree-order id=dom-tree-accessors:tree-order-2>tree
that document that have a <code>name</code> attribute whose value is equal to the <var>name</var> argument (in a <a href=#case-sensitive id=dom-tree-accessors:case-sensitive>case-sensitive</a> manner), in <a href=#tree-order id=dom-tree-accessors:tree-order-3>tree
order</a>. When the method is invoked on a <code id=dom-tree-accessors:document-12><a href=#document>Document</a></code> object again with the same
argument, the user agent may return the same as the object returned by the earlier call. In other
cases, a new <code id=dom-tree-accessors:nodelist-3><a href=#nodelist>NodeList</a></code> object must be returned.</p>
Expand Down Expand Up @@ -6246,7 +6246,7 @@ <h4 id=dom-tree-accessors>3.1.3 <dfn>DOM tree accessors</dfn></h4>
<code id=dom-tree-accessors:the-img-element-5><a href=#the-img-element>img</a></code>
elements in the <code id=dom-tree-accessors:document-24><a href=#document>Document</a></code> that have both non-empty <code>name</code> content
attributes and non-empty <code id=dom-tree-accessors:the-id-attribute-4><a href=#the-id-attribute>id</a></code> content attributes. The <a href=#supported-property-names id=dom-tree-accessors:supported-property-names-2>supported
property names</a> must be in <a href=#tree-order id=dom-tree-accessors:tree-order-3>tree order</a>, ignoring later duplicates, with values
property names</a> must be in <a href=#tree-order id=dom-tree-accessors:tree-order-4>tree order</a>, ignoring later duplicates, with values
from <code id=dom-tree-accessors:the-id-attribute-5><a href=#the-id-attribute>id</a></code> attributes coming before values from <code>name</code> attributes when the same element contributes both.</p>

<p>To <a href=#determine-the-value-of-a-named-property id=dom-tree-accessors:determine-the-value-of-a-named-property>determine the value of a named property</a> <var>name</var> when <dfn id=dom-document-nameditem>the <code>Document</code> object is indexed for property
Expand Down Expand Up @@ -8877,7 +8877,7 @@ <h4 id=the-title-element>4.2.2 The <dfn><code>title</code></dfn> element</h4>

<p>The IDL attribute <dfn id=dom-title-text><code>text</code></dfn> must return a
concatenation of the contents of all the <code id=the-title-element:text-2><a href=#text>Text</a></code> nodes that are children of the
<code id=the-title-element:the-title-element-5><a href=#the-title-element>title</a></code> element (ignoring any other nodes such as comments or elements), in tree order.
<code id=the-title-element:the-title-element-5><a href=#the-title-element>title</a></code> element (ignoring any other nodes such as comments or elements), in <a href=#tree-order id=the-title-element:tree-order>tree order</a>.
On setting, it must act the same way as the <code id=the-title-element:textcontent><a href=#textcontent>textContent</a></code> IDL attribute.</p>


Expand Down Expand Up @@ -11404,7 +11404,7 @@ <h5 id=outlines>4.3.11.1 Creating an outline</h5>

<p>This section defines an algorithm for creating an outline for a <a href=#sectioning-content-2 id=outlines:sectioning-content-2>sectioning content</a>
element or a <a href=#sectioning-root id=outlines:sectioning-root>sectioning root</a> element. It is defined in terms of a walk over the nodes
of a DOM tree, in tree order, with each node being visited when it is <i>entered</i> and when it
of a DOM tree, in <a href=#tree-order id=outlines:tree-order>tree order</a>, with each node being visited when it is <i>entered</i> and when it
is <i>exited</i> during the walk.</p>


Expand Down Expand Up @@ -11467,7 +11467,7 @@ <h5 id=outlines>4.3.11.1 Creating an outline</h5>
section.)<li><p>Create a stack to hold elements, which is used to handle nesting. Initialise this stack to
empty.<li>

<p>Walk over the DOM in <a href=#tree-order id=outlines:tree-order>tree order</a>, starting with the <a href=#sectioning-content-2 id=outlines:sectioning-content-2-4>sectioning
<p>Walk over the DOM in <a href=#tree-order id=outlines:tree-order-2>tree order</a>, starting with the <a href=#sectioning-content-2 id=outlines:sectioning-content-2-4>sectioning
content</a> element or <a href=#sectioning-root id=outlines:sectioning-root-4>sectioning root</a> element at the root of the subtree for
which an outline is to be created, and trigger the first relevant step below for each element as
the walk enters and exits it.</p>
Expand Down Expand Up @@ -16149,7 +16149,7 @@ <h5 id=rel-alternate>4.6.5.1 Link type "<dfn><code>alternate</code></dfn>"</h5>


<p>The first <code id=rel-alternate:the-link-element-3><a href=#the-link-element>link</a></code>, <code id=rel-alternate:the-a-element-2><a href=#the-a-element>a</a></code>, or <code id=rel-alternate:the-area-element-2><a href=#the-area-element>area</a></code> element in the document (in
tree order) with the <code id=rel-alternate:rel-alternate-5><a href=#rel-alternate>alternate</a></code> keyword used with the <code id=rel-alternate:attr-hyperlink-type-2><a href=#attr-hyperlink-type>type</a></code> attribute set to the value <code>application/rss+xml</code> or the value <code>application/atom+xml</code> must
<a href=#tree-order id=rel-alternate:tree-order>tree order</a>) with the <code id=rel-alternate:rel-alternate-5><a href=#rel-alternate>alternate</a></code> keyword used with the <code id=rel-alternate:attr-hyperlink-type-2><a href=#attr-hyperlink-type>type</a></code> attribute set to the value <code>application/rss+xml</code> or the value <code>application/atom+xml</code> must
be treated as the default syndication feed for the purposes of feed autodiscovery.</p>

<div class=example>
Expand Down Expand Up @@ -26997,9 +26997,9 @@ <h5 id=processing-model-2>4.8.17.2 Processing model</h5>

<p>If the user agent intends to show the image and allow interaction with the image to select
hyperlinks, then the image must be associated with a set of layered shapes, taken from the
<code id=processing-model-2:the-area-element-8><a href=#the-area-element>area</a></code> elements in <var>areas</var>, in reverse tree order (so the last
<code id=processing-model-2:the-area-element-8><a href=#the-area-element>area</a></code> elements in <var>areas</var>, in reverse <a href=#tree-order id=processing-model-2:tree-order>tree order</a> (so the last
specified <code id=processing-model-2:the-area-element-9><a href=#the-area-element>area</a></code> element in the <var>map</var> is the bottom-most shape, and
the first element in the <var>map</var>, in tree order, is the top-most shape).</p>
the first element in the <var>map</var>, in <a href=#tree-order id=processing-model-2:tree-order-2>tree order</a>, is the top-most shape).</p>

<p>Each <code id=processing-model-2:the-area-element-10><a href=#the-area-element>area</a></code> element in <var>areas</var> must be processed as follows to
obtain a shape to layer onto the image:</p>
Expand Down Expand Up @@ -27537,10 +27537,10 @@ <h4 id=the-table-element>4.9.1 The <dfn><code>table</code></dfn> element</h4>
<code id=the-table-element:the-tr-element-6><a href=#the-tr-element>tr</a></code> elements that are either children of the <code id=the-table-element:the-table-element-28><a href=#the-table-element>table</a></code> element, or children
of <code id=the-table-element:the-thead-element-17><a href=#the-thead-element>thead</a></code>, <code id=the-table-element:the-tbody-element-10><a href=#the-tbody-element>tbody</a></code>, or <code id=the-table-element:the-tfoot-element-16><a href=#the-tfoot-element>tfoot</a></code> elements that are themselves
children of the <code id=the-table-element:the-table-element-29><a href=#the-table-element>table</a></code> element. The elements in the collection must be ordered such
that those elements whose parent is a <code id=the-table-element:the-thead-element-18><a href=#the-thead-element>thead</a></code> are included first, in tree order,
that those elements whose parent is a <code id=the-table-element:the-thead-element-18><a href=#the-thead-element>thead</a></code> are included first, in <a href=#tree-order id=the-table-element:tree-order>tree order</a>,
followed by those elements whose parent is either a <code id=the-table-element:the-table-element-30><a href=#the-table-element>table</a></code> or <code id=the-table-element:the-tbody-element-11><a href=#the-tbody-element>tbody</a></code>
element, again in tree order, followed finally by those elements whose parent is a
<code id=the-table-element:the-tfoot-element-17><a href=#the-tfoot-element>tfoot</a></code> element, still in tree order.</p>
element, again in <a href=#tree-order id=the-table-element:tree-order-2>tree order</a>, followed finally by those elements whose parent is a
<code id=the-table-element:the-tfoot-element-17><a href=#the-tfoot-element>tfoot</a></code> element, still in <a href=#tree-order id=the-table-element:tree-order-3>tree order</a>.</p>

<p>The behavior of the <dfn id=dom-table-insertrow><code>insertRow(<var>index</var>)</code></dfn> method depends on the state of the table. When it is called,
the method must act as required by the first item in the following list of conditions that
Expand Down Expand Up @@ -28740,7 +28740,7 @@ <h5 id=forming-a-table>4.9.12.1 Forming a table</h5>
<li>

<p><i>End</i>: For each <code id=forming-a-table:the-tfoot-element-8><a href=#the-tfoot-element>tfoot</a></code> element in the list of <var>pending
<code id=forming-a-table:the-tfoot-element-9><a href=#the-tfoot-element>tfoot</a></code> elements</var>, in tree order, run the <a href=#algorithm-for-processing-row-groups id=forming-a-table:algorithm-for-processing-row-groups-2>algorithm for processing row
<code id=forming-a-table:the-tfoot-element-9><a href=#the-tfoot-element>tfoot</a></code> elements</var>, in <a href=#tree-order id=forming-a-table:tree-order>tree order</a>, run the <a href=#algorithm-for-processing-row-groups id=forming-a-table:algorithm-for-processing-row-groups-2>algorithm for processing row
groups</a>.</p>

<li>
Expand Down Expand Up @@ -53695,7 +53695,7 @@ <h4 id=processing-model-6>6.4.4 Processing model</h4>
shapes that are <a href=#focusable-area id=processing-model-6:focusable-area-4>focusable areas</a><dd>

<p>Let <var>new focus target</var> be the shape corresponding to the first
<code id=processing-model-6:the-img-element><a href=#the-img-element>img</a></code> element in tree order that uses the image map to which the <code id=processing-model-6:the-area-element-2><a href=#the-area-element>area</a></code>
<code id=processing-model-6:the-img-element><a href=#the-img-element>img</a></code> element in <a href=#tree-order id=processing-model-6:tree-order>tree order</a> that uses the image map to which the <code id=processing-model-6:the-area-element-2><a href=#the-area-element>area</a></code>
element belongs.</p>

<dt>If <var>new focus target</var> is an element with one or more scrollable regions
Expand Down Expand Up @@ -59381,9 +59381,9 @@ <h4 id=scroll-to-fragid>7.6.9 <dfn>Navigating to a fragment identifier</dfn></h4
decoder</a> algorithm to <var>fragid bytes</var>. If the <a href=#utf-8-decoder id=scroll-to-fragid:utf-8-decoder-2>UTF-8 decoder</a>
emits a <a href=#decoder-error id=scroll-to-fragid:decoder-error>decoder error</a>, abort the decoder and instead jump to the step labeled <i>no
decoded fragid</i>.<li><p>If there is an element in the DOM that has an <a href=#concept-id id=scroll-to-fragid:concept-id-2>ID</a> exactly
equal to <var>decoded fragid</var>, then the first such element in tree order is
equal to <var>decoded fragid</var>, then the first such element in <a href=#tree-order id=scroll-to-fragid:tree-order>tree order</a> is
<a href=#the-indicated-part-of-the-document id=scroll-to-fragid:the-indicated-part-of-the-document-6>the indicated part of the document</a>; stop the algorithm here.<li><p><i>No decoded fragid</i>: If there is an <code id=scroll-to-fragid:the-a-element><a href=#the-a-element>a</a></code> element in the DOM that has a <code id=scroll-to-fragid:attr-a-name><a href=#attr-a-name>name</a></code> attribute whose value is exactly equal to <var>fragid</var> (<em>not</em> <var>decoded fragid</var>), then the first such
element in tree order is <a href=#the-indicated-part-of-the-document id=scroll-to-fragid:the-indicated-part-of-the-document-7>the indicated part of the document</a>; stop the algorithm
element in <a href=#tree-order id=scroll-to-fragid:tree-order-2>tree order</a> is <a href=#the-indicated-part-of-the-document id=scroll-to-fragid:the-indicated-part-of-the-document-7>the indicated part of the document</a>; stop the algorithm
here.<li><p>If <var>fragid</var> is an <a href=#ascii-case-insensitive id=scroll-to-fragid:ascii-case-insensitive>ASCII case-insensitive</a> match for the
string <code>top</code>, then <a href=#the-indicated-part-of-the-document id=scroll-to-fragid:the-indicated-part-of-the-document-8>the indicated part of the document</a> is the top
of the document; stop the algorithm here.<li><p>Otherwise, there is no <a href=#the-indicated-part-of-the-document id=scroll-to-fragid:the-indicated-part-of-the-document-9>indicated part of
Expand Down

0 comments on commit a4e15d5

Please sign in to comment.