Skip to content

Commit d0ba7df

Browse files
annevkdomenic
authored andcommitted
Editorial: correct placement of either
1 parent 80ebad5 commit d0ba7df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74312,7 +74312,7 @@ dictionary <dfn dictionary>ElementDefinitionOptions</dfn> {
7431274312
<dd>Each <span>inclusive descendant</span> of <var>root</var> with a null registry will have it
7431374313
updated to this <code>CustomElementRegistry</code> object. A
7431474314
<span>"<code>NotSupportedError</code>"</span> <code>DOMException</code> will be thrown if this
74315-
<code>CustomElementRegistry</code> object is not for scoped usage and <var>root</var> is either a
74315+
<code>CustomElementRegistry</code> object is not for scoped usage and either <var>root</var> is a
7431674316
<code>Document</code> node or <var>root</var>'s <span>node document</span>'s <span
7431774317
data-x="document-custom-element-registry">custom element registry</span> is not this
7431874318
<code>CustomElementRegistry</code> object.</dd>
@@ -74664,7 +74664,7 @@ console.assert(el instanceof SpiderMan); // upgraded!</code></pre>
7466474664
steps are:</p>
7466574665

7466674666
<ol>
74667-
<li><p>If <span>this</span>'s <span>is scoped</span> is false and <var>root</var> is either a
74667+
<li><p>If <span>this</span>'s <span>is scoped</span> is false and either <var>root</var> is a
7466874668
<code>Document</code> node or <var>root</var>'s <span>node document</span>'s <span
7466974669
data-x="document-custom-element-registry">custom element registry</span> is not
7467074670
<span>this</span>, then throw a <span>"<code>NotSupportedError</code>"</span>

0 commit comments

Comments
 (0)