File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -705,13 +705,13 @@ <h3>Extensions to the HTMLElement interface</h3>
705705 [=active EditContext=], then run the steps to [=deactivate an EditContext=]
706706 with |oldEditContext|.
707707 </ li >
708- < li > If |editContext| is not null, then set |editContext|'s < a > associated element</ a > to [=this=].
709- < li > If |oldEditContext| is not null, then:
710- < ol >
711- < li > [=Assert=]: |oldEditContext|'s < a > associated element</ a > is equal to [=this=].</ li >
712- < li > Set |oldEditContext|'s < a > associated element</ a > to null.</ li >
713- </ ol >
708+ < li > If |oldEditContext| is not null and |oldEditContext|'s < a > associated element</ a > is not equal to [=this=], then terminate these steps.</ li >
709+ < li >
710+ If |editContext| is not null, |editContext|'s < a > associated element</ a > is not null and |editContext|'s < a > associated element</ a >
711+ is not equal to [=this=], then [=exception/throw=] a {{"NotSupportedError"}} {{DOMException}}.
714712 </ li >
713+ < li > If |oldEditContext| is not null, set |oldEditContext|'s < a > associated element</ a > to null.</ li >
714+ < li > If |editContext| is not null, then set |editContext|'s < a > associated element</ a > to [=this=].
715715 < li > Set [=this=]'s internal [[\EditContext]] slot to be |editContext|.</ li >
716716 </ ol >
717717 </ div > <!-- algorithm -->
You can’t perform that action at this time.
0 commit comments