@@ -6553,6 +6553,9 @@ steps:
6553
6553
6554
6554
<li><p> Set <var> attribute</var> 's <a for=Attr>element</a> to <var> element</var> .
6555
6555
6556
+ <li><p> Set <var> attribute</var> 's <a for=Node>node document</a> to <var>element</var>' s
6557
+ <a for=Node>node document</a> .
6558
+
6556
6559
<li><p> <a>Handle attribute changes</a> for <var> attribute</var> with <var> element</var> , null, and
6557
6560
<var> attribute</var> 's <a for=Attr>value</a> .
6558
6561
</ol>
@@ -6573,19 +6576,23 @@ steps:
6573
6576
</ol>
6574
6577
6575
6578
<p> To <dfn export id=concept-element-attributes-replace lt="replace an attribute">replace</dfn> an
6576
- <a>attribute</a> <var> oldAttr </var> with an <a>attribute</a> <var> newAttr </var> , run these steps :
6579
+ <a>attribute</a> <var> oldAttribute </var> with an <a>attribute</a> <var> newAttribute </var> :
6577
6580
6578
6581
<ol>
6579
- <li><p> <a for=list>Replace</a> <var> oldAttr</var> by <var> newAttr</var> in <var> oldAttr</var> 's
6580
- <a for=Attr>element</a> 's <a for=Element>attribute list</a> .
6582
+ <li><p> Let <var> element</var> be <var> oldAttribute</var> 's <a for=Attr>element</a> .</p></li>
6583
+
6584
+ <li><p> <a for=list>Replace</a> <var> oldAttribute</var> by <var> newAttribute</var> in
6585
+ <var> element</var> 's <a for=Element>attribute list</a> .
6581
6586
6582
- <li><p> Set <var> newAttr</var> 's <a for=Attr>element</a> to <var>oldAttr</var>' s
6583
- <a for=Attr>element</a> .
6587
+ <li><p> Set <var> newAttribute</var> 's <a for=Attr>element</a> to <var> element</var> .
6588
+
6589
+ <li><p> Set <var> newAttribute</var> 's <a for=Node>node document</a> to <var>element</var>' s
6590
+ <a for=Node>node document</a> .
6584
6591
6585
- <li><p> Set <var> oldAttr </var> 's <a for=Attr>element</a> to null.
6592
+ <li><p> Set <var> oldAttribute </var> 's <a for=Attr>element</a> to null.
6586
6593
6587
- <li><p> <a>Handle attribute changes</a> for <var> oldAttr </var> with <var> newAttr </var> 's
6588
- <a for=Attr>element</a> , < var>oldAttr </var> 's <a for=Attr>value</a>, and <var>newAttr </var>' s
6594
+ <li><p> <a>Handle attribute changes</a> for <var> oldAttribute </var> with <var> element </var> ,
6595
+ <var> oldAttribute </var> 's <a for=Attr>value</a>, and <var>newAttribute </var>' s
6589
6596
<a for=Attr>value</a> .
6590
6597
</ol>
6591
6598
@@ -7473,15 +7480,15 @@ to as <em>content attributes</em> to avoid confusion with IDL attributes.
7473
7480
7474
7481
<p class=note> User agents could have this as an internal slot as an optimization.
7475
7482
7476
- When an <a>attribute</a> is created, its
7483
+ <p> When an <a>attribute</a> is created, its
7477
7484
<a for=Attr>local name</a> is given. Unless explicitly
7478
7485
given when an <a>attribute</a> is created, its
7479
7486
<a for=Attr>namespace</a> ,
7480
7487
<a for=Attr>namespace prefix</a> , and
7481
7488
<a for=Attr>element</a> are set to null, and its
7482
7489
<a for=Attr>value</a> is set to the empty string.
7483
7490
7484
- An
7491
+ <p> An
7485
7492
<dfn export id=concept-named-attribute lt="named attribute"><code><var>A</var></code> attribute</dfn>
7486
7493
is an <a>attribute</a> whose
7487
7494
<a for=Attr>local name</a> is
0 commit comments