Skip to content

Commit

Permalink
Editorial: fix a few cross-linking missteps
Browse files Browse the repository at this point in the history
  • Loading branch information
domenic authored and annevk committed Apr 19, 2016
1 parent 3536dd9 commit a878733
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions dom.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1002,7 +1002,7 @@ which takes an <a>event</a> <var>event</var>, and returns an {{EventTarget}} obj
specified otherwise it returns null.

<p class="note no-backref"><a>Nodes</a> and <a>documents</a> override the
<span>get the parent</span> algorithm.
<a>get the parent</a> algorithm.

<dl class=domintro>
<dt><code><var>target</var> . <a method lt="addEventListener()">addEventListener</a>(<var>type</var>, <var>callback</var> [, <var>options</var>])</code>
Expand Down Expand Up @@ -5305,10 +5305,10 @@ method, when invoked, must run these steps:
<a for=DocumentType>name</a> and with its <a>node document</a> set to <var>doc</var>, to
<var>doc</var>.

<li><a>Append</a> a new <{html}> element in the <span>HTML namespace</span>, to
<li><a>Append</a> a new <{html}> element in the <a>HTML namespace</a>, to
<var>doc</var>.

<li><a>Append</a> a new <{head}> element in the <span>HTML namespace</span>, to the
<li><a>Append</a> a new <{head}> element in the <a>HTML namespace</a>, to the
<{html}> element created earlier.

<li>
Expand Down Expand Up @@ -8831,15 +8831,15 @@ To <dfn export id=concept-nodeiterator-traverse for="NodeIterator">traverse</dfn
If <var>before node</var> is false, let <var>node</var>
be the first <a>node</a>
<a>following</a>
<var>node</var> in the <span>iterator collection</span>. If
<var>node</var> in the <a>iterator collection</a>. If
there is no such <a>node</a> return null.
If <var>before node</var> is true, set it to false.
<dt>If <var>direction</var> is previous
<dd>
If <var>before node</var> is true, let <var>node</var>
be the first <a>node</a>
<a>preceding</a>
<var>node</var> in the <span>iterator collection</span>. If
<var>node</var> in the <a>iterator collection</a>. If
there is no such <a>node</a> return null.
If <var>before node</var> is false, set it to true.
</dl>
Expand Down
10 changes: 5 additions & 5 deletions dom.html
Original file line number Diff line number Diff line change
Expand Up @@ -725,7 +725,7 @@ <h3 class="heading settled" data-level="3.6" id="interface-eventtarget"><span cl
<p>Each <code class="idl"><a data-link-type="idl" href="#eventtarget">EventTarget</a></code> object also has an associated <dfn data-dfn-type="dfn" data-export="" id="get-the-parent">get the parent<a class="self-link" href="#get-the-parent"></a></dfn> algorithm,
which takes an <a data-link-type="dfn" href="#concept-event">event</a> <var>event</var>, and returns an <code class="idl"><a data-link-type="idl" href="#eventtarget">EventTarget</a></code> object. Unless
specified otherwise it returns null. </p>
<p class="note no-backref" role="note"><a data-link-type="dfn" href="#concept-node">Nodes</a> and <a data-link-type="dfn" href="#concept-document">documents</a> override the <span>get the parent</span> algorithm. </p>
<p class="note no-backref" role="note"><a data-link-type="dfn" href="#concept-node">Nodes</a> and <a data-link-type="dfn" href="#concept-document">documents</a> override the <a data-link-type="dfn" href="#get-the-parent">get the parent</a> algorithm. </p>
<dl class="domintro">
<dt><code><var>target</var> . <a class="idl-code" data-link-type="method" href="#dom-eventtarget-addeventlistener">addEventListener</a>(<var>type</var>, <var>callback</var> [, <var>options</var>])</code>
<dd>
Expand Down Expand Up @@ -3096,8 +3096,8 @@ <h4 class="heading settled" data-level="4.5.1" id="interface-domimplementation">
<li>Let <var>doc</var> be a new <a data-link-type="dfn" href="#concept-document">document</a> that is an <a data-link-type="dfn" href="#html-document">HTML document</a>.
<li>Set <var>doc</var>’s <a data-link-type="dfn" href="#concept-document-content-type">content type</a> to "<code>text/html</code>".
<li><a data-link-type="dfn" href="#concept-node-append">Append</a> a new <a data-link-type="dfn" href="#concept-doctype">doctype</a>, with "<code>html</code>" as its <a data-link-type="dfn" href="#concept-doctype-name">name</a> and with its <a data-link-type="dfn" href="#concept-node-document">node document</a> set to <var>doc</var>, to <var>doc</var>.
<li><a data-link-type="dfn" href="#concept-node-append">Append</a> a new <code><a data-link-type="element" href="https://html.spec.whatwg.org/multipage/semantics.html#the-html-element">html</a></code> element in the <span>HTML namespace</span>, to <var>doc</var>.
<li><a data-link-type="dfn" href="#concept-node-append">Append</a> a new <code><a data-link-type="element" href="https://html.spec.whatwg.org/multipage/semantics.html#the-head-element">head</a></code> element in the <span>HTML namespace</span>, to the <code><a data-link-type="element" href="https://html.spec.whatwg.org/multipage/semantics.html#the-html-element">html</a></code> element created earlier.
<li><a data-link-type="dfn" href="#concept-node-append">Append</a> a new <code><a data-link-type="element" href="https://html.spec.whatwg.org/multipage/semantics.html#the-html-element">html</a></code> element in the <a data-link-type="dfn" href="#html-namespace">HTML namespace</a>, to <var>doc</var>.
<li><a data-link-type="dfn" href="#concept-node-append">Append</a> a new <code><a data-link-type="element" href="https://html.spec.whatwg.org/multipage/semantics.html#the-head-element">head</a></code> element in the <a data-link-type="dfn" href="#html-namespace">HTML namespace</a>, to the <code><a data-link-type="element" href="https://html.spec.whatwg.org/multipage/semantics.html#the-html-element">html</a></code> element created earlier.
<li>
If the <var>title</var> argument is not omitted:
<ol>
Expand Down Expand Up @@ -4608,11 +4608,11 @@ <h3 class="heading settled" data-level="6.1" id="interface-nodeiterator"><span c
<li>
<dl class="switch">
<dt>If <var>direction</var> is next
<dd> If <var>before node</var> is false, let <var>node</var> be the first <a data-link-type="dfn" href="#concept-node">node</a> <a data-link-type="dfn" href="#concept-tree-following">following</a> <var>node</var> in the <span>iterator collection</span>. If
<dd> If <var>before node</var> is false, let <var>node</var> be the first <a data-link-type="dfn" href="#concept-node">node</a> <a data-link-type="dfn" href="#concept-tree-following">following</a> <var>node</var> in the <a data-link-type="dfn" href="#iterator-collection">iterator collection</a>. If
there is no such <a data-link-type="dfn" href="#concept-node">node</a> return null.
If <var>before node</var> is true, set it to false.
<dt>If <var>direction</var> is previous
<dd> If <var>before node</var> is true, let <var>node</var> be the first <a data-link-type="dfn" href="#concept-node">node</a> <a data-link-type="dfn" href="#concept-tree-preceding">preceding</a> <var>node</var> in the <span>iterator collection</span>. If
<dd> If <var>before node</var> is true, let <var>node</var> be the first <a data-link-type="dfn" href="#concept-node">node</a> <a data-link-type="dfn" href="#concept-tree-preceding">preceding</a> <var>node</var> in the <a data-link-type="dfn" href="#iterator-collection">iterator collection</a>. If
there is no such <a data-link-type="dfn" href="#concept-node">node</a> return null.
If <var>before node</var> is false, set it to true.
</dl>
Expand Down

0 comments on commit a878733

Please sign in to comment.