File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -6651,6 +6651,9 @@ string <var>namespace</var> (default null):</p>
6651
6651
<a for=/>attribute</a> <var> attr</var> and an <a for=/>element</a> <var> element</var> :
6652
6652
6653
6653
<ol>
6654
+ <li><p> Let <var> verifiedValue</var> be the result of calling <a>verify attribute value</a>
6655
+ <var> attr</var> 's <a for=Attr>value</a> for <var> attr</var> , with <var> element</var> .
6656
+
6654
6657
<li><p> If <var> attr</var> 's <a for=Attr>element</a> is neither null nor <var> element</var> ,
6655
6658
<a>throw</a> an "{{InUseAttributeError!!exception}} " {{DOMException}} .
6656
6659
@@ -6661,19 +6664,13 @@ string <var>namespace</var> (default null):</p>
6661
6664
6662
6665
<li><p> If <var> oldAttr</var> is <var> attr</var> , return <var> attr</var> .
6663
6666
6664
- <li><p> Let <var> verifiedValue</var> be the result of calling <a>verify attribute value</a>
6665
- <var> attr</var> 's <a for=Attr>value</a> for <var> attr</var> , with <var> element</var> .
6666
-
6667
- <li><p> Set <var> attr</var> 's <a for=Attr>value</a> to <var> verifiedValue</var> .
6668
-
6669
- <li><p> If <var> attr</var> 's <a for=Attr>element</a> is neither null nor <var> element</var> ,
6670
- <a>throw</a> an "{{InUseAttributeError!!exception}} " {{DOMException}} .
6671
-
6672
6667
<li><p> If <var> oldAttr</var> is non-null, then <a lt="replace an attribute">replace</a>
6673
6668
<var> oldAttr</var> with <var> attr</var> .
6674
6669
6675
6670
<li><p> Otherwise, <a lt="append an attribute">append</a> <var> attr</var> to <var> element</var> .
6676
6671
6672
+ <li><p> Set <var> attr</var> 's <a for=Attr>value</a> to <var> verifiedValue</var> .
6673
+
6677
6674
<li><p> Return <var> oldAttr</var> .
6678
6675
</ol>
6679
6676
</div>
You can’t perform that action at this time.
0 commit comments