Skip to content

Commit

Permalink
Editorial: add missing paranthesis
Browse files Browse the repository at this point in the history
Fixes #189. Also updates dom.html with some changes I forgot to
generate yesterday.
  • Loading branch information
annevk committed Mar 16, 2016
1 parent baf4e6e commit e41d91c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
2 changes: 1 addition & 1 deletion dom.bs
Original file line number Diff line number Diff line change
Expand Up @@ -979,7 +979,7 @@ when something has occurred.

<ul class="brief">
<li><b>type</b> (a string)
<li><b>callback</b> (an {{EventListener}}
<li><b>callback</b> (an {{EventListener}})
<li><b>capture</b> (a boolean, initially false)
<li><b>passive</b> (a boolean, initially false)
<li><b>removed</b> (a boolean for bookkeeping purposes, initially false)
Expand Down
16 changes: 7 additions & 9 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-03-15">15 March 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-03-16">16 March 2016</time></span></h2>
<div data-fill-with="spec-metadata">
<dl>
<dt>Participate:
Expand Down Expand Up @@ -697,7 +697,7 @@ <h3 class="heading settled" data-level="3.6" id="interface-eventtarget"><span cl
<p>An <a data-link-type="dfn" href="#concept-event-listener">event listener</a> consists of these fields:</p>
<ul class="brief">
<li><b>type</b> (a string)
<li><b>callback</b> (an <code class="idl"><a data-link-type="idl" href="#callbackdef-eventlistener">EventListener</a></code>
<li><b>callback</b> (an <code class="idl"><a data-link-type="idl" href="#callbackdef-eventlistener">EventListener</a></code>)
<li><b>capture</b> (a boolean, initially false)
<li><b>passive</b> (a boolean, initially false)
<li><b>removed</b> (a boolean for bookkeeping purposes, initially false)
Expand Down Expand Up @@ -1049,8 +1049,7 @@ <h4 class="heading settled" data-level="4.2.1" id="mutation-algorithms"><span cl
<li>Return <var>node</var>.
</ol>
<p><a data-link-type="dfn" href="#other-applicable-specifications">Specifications</a> may define <dfn data-dfn-for="Node" data-dfn-type="dfn" data-export="" id="concept-node-insert-ext">insertion steps<a class="self-link" href="#concept-node-insert-ext"></a></dfn> for all or some <a data-link-type="dfn" href="#concept-node">nodes</a>.
The algorithm is passed <var>insertedNode</var>, and optionally <var>newParent</var>, as indicated
in the <a data-link-type="dfn" href="#concept-node-insert">insert</a> algorithm below. </p>
The algorithm is passed <var>insertedNode</var>, as indicated in the <a data-link-type="dfn" href="#concept-node-insert">insert</a> algorithm below. </p>
<p>To <dfn data-dfn-for="Node" data-dfn-type="dfn" data-export="" id="concept-node-insert">insert<a class="self-link" href="#concept-node-insert"></a></dfn> a <var>node</var> into a <var>parent</var> before a <var>child</var>, with an optional <i>suppress observers flag</i>, run these steps:</p>
<ol>
<li>Let <var>count</var> be the number of <a data-link-type="dfn" href="#concept-tree-child">children</a> of <var>node</var> if
Expand All @@ -1077,10 +1076,7 @@ <h4 class="heading settled" data-level="4.2.1" id="mutation-algorithms"><span cl
<li>
<p>Insert <var>node</var> into <var>parent</var> before <var>child</var> or at the end of <var>parent</var> if <var>child</var> is null. </p>
<li>
<p>Run the <a data-link-type="dfn" href="#concept-node-insert-ext">insertion steps</a> with <var>node</var> and <var>parent</var>. </p>
<li>
<p>For each <a data-link-type="dfn" href="#concept-shadow-root-including-descendant">shadow-root-including descendant</a> <var>descendant</var> of <var>node</var>,
in <a data-link-type="dfn" href="#concept-shadow-root-including-tree-order">shadow-root-including tree order</a>, run the <a data-link-type="dfn" href="#concept-node-insert-ext">insertion steps</a> with <var>descendant</var>. </p>
<p>For each <a data-link-type="dfn" href="#concept-shadow-root-including-inclusive-descendant">shadow-root-including inclusive descendant</a> <var>inclusiveDescendant</var> of <var>node</var>, in <a data-link-type="dfn" href="#concept-shadow-root-including-tree-order">shadow-root-including tree order</a>, run the <a data-link-type="dfn" href="#concept-node-insert-ext">insertion steps</a> with <var>inclusiveDescendant</var>. </p>
</ol>
<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 addedNodes <var>nodes</var>, nextSibling <var>child</var>, and previousSibling <var>child</var>’s <a data-link-type="dfn" href="#concept-tree-previous-sibling">previous sibling</a> or <var>parent</var>’s <a data-link-type="dfn" href="#concept-tree-last-child">last child</a> if <var>child</var> is null.
</ol>
Expand Down Expand Up @@ -2786,7 +2782,8 @@ <h3 class="heading settled" data-level="4.8" id="interface-shadowroot"><span cla
<hr>
<p>In <dfn data-dfn-type="dfn" data-export="" id="concept-shadow-root-including-tree-order">shadow-root-including tree order<a class="self-link" href="#concept-shadow-root-including-tree-order"></a></dfn>, is <a data-link-type="dfn" href="#shadow-root-including-preorder-depth-first-traversal">shadow-root-including preorder, depth-first traversal</a> of a <a data-link-type="dfn" href="#concept-tree">tree</a>. <dfn data-dfn-type="dfn" data-noexport="" id="shadow-root-including-preorder-depth-first-traversal">shadow-root-including preorder, depth-first traversal<a class="self-link" href="#shadow-root-including-preorder-depth-first-traversal"></a></dfn> of a <a data-link-type="dfn" href="#concept-tree">tree</a> <var>tree</var> is preorder, depth-first traversal of <var>tree</var>, with for each <a data-link-type="dfn" href="#concept-element">element</a> <var>element</var> encountered in <var>tree</var>, whose <a data-link-type="dfn" href="#concept-element-shadow-root">shadow root</a> is non-null, <a data-link-type="dfn" href="#shadow-root-including-preorder-depth-first-traversal">shadow-root-including preorder, depth-first traversal</a> of the <a data-link-type="dfn" href="#concept-element">element</a>’s <a data-link-type="dfn" href="#concept-element-shadow-root">shadow root</a>’s <a data-link-type="dfn" href="#concept-tree">tree</a> just after it is encountered. </p>
<p>An object <var>A</var> is a <dfn data-dfn-type="dfn" data-export="" id="concept-shadow-root-including-descendant">shadow-root-including descendant<a class="self-link" href="#concept-shadow-root-including-descendant"></a></dfn> of an
object <var>B</var>, if <var>A</var> is a <a data-link-type="dfn" href="#concept-tree-descendant">descendant</a> of <var>B</var>, or <var>A</var>’s <a data-link-type="dfn" href="#concept-tree-root">root</a> is a <a data-link-type="dfn" href="#concept-shadow-root">shadow root</a> and <var>A</var>’s <a data-link-type="dfn" href="#concept-tree-root">root</a>’s <a data-link-type="dfn" href="#concept-documentfragment-host">host</a> is <var>B</var> or a <a data-link-type="dfn" href="#concept-shadow-root-including-descendant">shadow-root-including descendant</a> of <var>B</var>. </p>
object <var>B</var>, if <var>A</var> is a <a data-link-type="dfn" href="#concept-tree-descendant">descendant</a> of <var>B</var>, or <var>A</var>’s <a data-link-type="dfn" href="#concept-tree-root">root</a> is a <a data-link-type="dfn" href="#concept-shadow-root">shadow root</a> and <var>A</var>’s <a data-link-type="dfn" href="#concept-tree-root">root</a>’s <a data-link-type="dfn" href="#concept-documentfragment-host">host</a> is a <a data-link-type="dfn" href="#concept-shadow-root-including-inclusive-descendant">shadow-root-including inclusive descendant</a> of <var>B</var>. </p>
<p>A <dfn data-dfn-type="dfn" data-export="" id="concept-shadow-root-including-inclusive-descendant">shadow-root-including inclusive descendant<a class="self-link" href="#concept-shadow-root-including-inclusive-descendant"></a></dfn> is an object or one of its <a data-link-type="dfn" href="#concept-shadow-root-including-descendant">shadow-root-including descendants</a>. </p>
<hr>
<p class="XXX">For now you can find more information about this object in <a href="https://w3c.github.io/webcomponents/spec/shadow/">Shadow DOM</a>. The DOM Standard will be
updated over time to cover more details. </p>
Expand Down Expand Up @@ -5471,6 +5468,7 @@ <h3 class="no-num no-ref heading settled" id="index-defined-here"><span class="c
</ul>
<li><a href="#dom-element-shadowroot">shadowRoot</a><span>, in §4.9</span>
<li><a href="#concept-shadow-root-including-descendant">shadow-root-including descendant</a><span>, in §4.8</span>
<li><a href="#concept-shadow-root-including-inclusive-descendant">shadow-root-including inclusive descendant</a><span>, in §4.8</span>
<li><a href="#shadow-root-including-preorder-depth-first-traversal">shadow-root-including preorder, depth-first traversal</a><span>, in §4.8</span>
<li><a href="#concept-shadow-root-including-tree-order">shadow-root-including tree order</a><span>, in §4.8</span>
<li><a href="#dictdef-shadowrootinit">ShadowRootInit</a><span>, in §4.9</span>
Expand Down

0 comments on commit e41d91c

Please sign in to comment.