You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: index.html
+8-7Lines changed: 8 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -692,27 +692,28 @@ <h3>Extensions to the HTMLElement interface</h3>
692
692
</dl>
693
693
<ol>
694
694
<li>If [=this=]'s [=Element/local name=] is neither a [=valid shadow host name=] nor "<code>canvas</code>", then [=exception/throw=] a {{"NotSupportedError"}} {{DOMException}}.</li>
695
+
695
696
<li>If |editContext| is not null, then:
696
697
<ol>
697
698
<li>If |editContext|'s <a>associated element</a> is equal to [=this=], then terminate these steps.</li>
698
699
<li>If |editContext|'s <a>associated element</a> is not null, then [=exception/throw=] a {{"NotSupportedError"}} {{DOMException}}.</li>
699
-
<li>Set |editContext|'s <a>associated element</a> to [=this=].</li>
700
700
</ol>
701
701
</li>
702
702
<li>Let |oldEditContext| be the value of [=this=]'s internal [[\EditContext]] slot.</li>
703
+
<li>
704
+
If |oldEditContext| is not null and |oldEditContext| is [=this=]'s
0 commit comments