Skip to content

Commit

Permalink
Editorial: Adjust syntax for NonElementParentNode & ParentNode headers
Browse files Browse the repository at this point in the history
PR: #175
  • Loading branch information
cvrebert authored and annevk committed Feb 24, 2016
1 parent 623ae75 commit 5a20a8f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions dom.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1872,7 +1872,7 @@ steps:
</ol>


<h4 id=interface-nonelementparentnode>Interface <code>NonElementParentNode</code></h4>
<h4 id=interface-nonelementparentnode>Interface {{NonElementParentNode}}</h4>

<p class="note no-backref">The
{{NonElementParentNode/getElementById()}} method is not
Expand Down Expand Up @@ -1906,7 +1906,7 @@ method must return the first <a for="/">element</a>, in
such <a for="/">element</a> otherwise.


<h4 id="interface-parentnode">Interface <code>ParentNode</code></h4>
<h4 id="interface-parentnode">Interface {{ParentNode}}</h4>

To
<dfn export lt="converting nodes into a node">convert <var>nodes</var> into a node</dfn>,
Expand Down
10 changes: 5 additions & 5 deletions dom.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
<div class="head">
<p data-fill-with="logo"><a class="logo" href="https://whatwg.org/"> <img alt="WHATWG" height="100" src="https://resources.whatwg.org/logo-dom.svg"> </a> </p>
<h1 class="p-name no-ref allcaps" id="title">DOM</h1>
<h2 class="no-num no-toc no-ref heading settled" id="subtitle"><span class="content">Living Standard — Last Updated <time class="dt-updated" datetime="2016-02-23">23 February 2016</time></span></h2>
<h2 class="no-num no-toc no-ref heading settled" id="subtitle"><span class="content">Living Standard — Last Updated <time class="dt-updated" datetime="2016-02-24">24 February 2016</time></span></h2>
<div data-fill-with="spec-metadata">
<dl>
<dt>Participate:
Expand Down Expand Up @@ -128,8 +128,8 @@ <h2 class="no-num no-toc no-ref" id="contents">Table of Contents</h2>
<a href="#node-trees"><span class="secno">4.2</span> <span class="content">Node tree</span></a>
<ol class="toc">
<li><a href="#mutation-algorithms"><span class="secno">4.2.1</span> <span class="content">Mutation algorithms</span></a>
<li><a href="#interface-nonelementparentnode"><span class="secno">4.2.2</span> <span class="content">Interface <code>NonElementParentNode</code></span></a>
<li><a href="#interface-parentnode"><span class="secno">4.2.3</span> <span class="content">Interface <code>ParentNode</code></span></a>
<li><a href="#interface-nonelementparentnode"><span class="secno">4.2.2</span> <span class="content">Interface <code class="idl"><span>NonElementParentNode</span></code></span></a>
<li><a href="#interface-parentnode"><span class="secno">4.2.3</span> <span class="content">Interface <code class="idl"><span>ParentNode</span></code></span></a>
<li><a href="#interface-nondocumenttypechildnode"><span class="secno">4.2.4</span> <span class="content">Interface <code class="idl"><span>NonDocumentTypeChildNode</span></code></span></a>
<li><a href="#interface-childnode"><span class="secno">4.2.5</span> <span class="content">Interface <code class="idl"><span>ChildNode</span></code></span></a>
<li><a href="#element-collections"><span class="secno">4.2.6</span> <span class="content">Collections: <code class="idl"><span>Elements</span></code></span></a>
Expand Down Expand Up @@ -1150,7 +1150,7 @@ <h4 class="heading settled" data-level="4.2.1" id="mutation-algorithms"><span cl
<li>If <i>suppress observers flag</i> is unset, <a data-link-type="dfn" href="#queue-a-mutation-record">queue a mutation record</a> of "<code>childList</code>" for <var>parent</var> with removedNodes a list solely containing <var>node</var>,
nextSibling <var>oldNextSibling</var>, and previousSibling <var>oldPreviousSibling</var>.
</ol>
<h4 class="heading settled" data-level="4.2.2" id="interface-nonelementparentnode"><span class="secno">4.2.2. </span><span class="content">Interface <code>NonElementParentNode</code></span><a class="self-link" href="#interface-nonelementparentnode"></a></h4>
<h4 class="heading settled" data-level="4.2.2" id="interface-nonelementparentnode"><span class="secno">4.2.2. </span><span class="content">Interface <code class="idl"><a data-link-type="idl" href="#nonelementparentnode">NonElementParentNode</a></code></span><a class="self-link" href="#interface-nonelementparentnode"></a></h4>
<p class="note no-backref" role="note">The <code class="idl"><a data-link-type="idl" href="#dom-nonelementparentnode-getelementbyid">getElementById()</a></code> method is not
on <a data-link-type="dfn" href="#concept-element">elements</a> for compatibility with older versions of
jQuery. If a time comes where that version of jQuery has disappeared, we might be able to
Expand All @@ -1169,7 +1169,7 @@ <h4 class="heading settled" data-level="4.2.2" id="interface-nonelementparentnod
</dl>
<p>The <dfn class="idl-code" data-dfn-for="NonElementParentNode" data-dfn-type="method" data-export="" id="dom-nonelementparentnode-getelementbyid">getElementById(<var>elementId</var>)<a class="self-link" href="#dom-nonelementparentnode-getelementbyid"></a></dfn> method must return the first <a data-link-type="dfn" href="#concept-element">element</a>, in <a data-link-type="dfn" href="#concept-tree-order">tree order</a>, within <a data-link-type="dfn" href="#context-object">context object</a>’s <a data-link-type="dfn" href="#concept-tree-descendant">descendants</a>, whose <a data-link-type="dfn" href="#concept-id">ID</a> is <var>elementId</var>, and null if there is no
such <a data-link-type="dfn" href="#concept-element">element</a> otherwise.</p>
<h4 class="heading settled" data-level="4.2.3" id="interface-parentnode"><span class="secno">4.2.3. </span><span class="content">Interface <code>ParentNode</code></span><a class="self-link" href="#interface-parentnode"></a></h4>
<h4 class="heading settled" data-level="4.2.3" id="interface-parentnode"><span class="secno">4.2.3. </span><span class="content">Interface <code class="idl"><a data-link-type="idl" href="#parentnode">ParentNode</a></code></span><a class="self-link" href="#interface-parentnode"></a></h4>
<p>To <dfn data-dfn-type="dfn" data-export="" data-lt="converting nodes into a node" id="converting-nodes-into-a-node">convert <var>nodes</var> into a node<a class="self-link" href="#converting-nodes-into-a-node"></a></dfn>,
run these steps:</p>
<ol>
Expand Down

0 comments on commit 5a20a8f

Please sign in to comment.