@@ -7040,32 +7040,18 @@ an optional null or string <var>prefix</var> (default null), and an optional nul
70407040<var> namespace</var> (default null):
70417041
70427042<ol>
7043- <li><p> Let <var> attribute</var> be the result of
7043+ <li> Let <var> attribute</var> be the result of
70447044 <a lt="get an attribute by namespace and local name">getting an attribute</a> given
70457045 <var> namespace</var> , <var> localName</var> , and <var> element</var> .
70467046
7047- <li><p> If <var> attribute</var> is null, then set attribute to an <a>attribute</a> whose
7048- <a for=Attr>namespace</a> is <var> namespace</var> , <a for=Attr>namespace prefix</a> is
7049- <var> prefix</var> , <a for=Attr>local name</a> is <var> localName</var> , <a for=Attr>value</a> is
7050- <var> value</var> , and <a for=Node>node document</a> is <var> element</var> 's
7051- <a for=Node>node document</a> .
7052-
7053- <li><p> Let <var> verifiedValue</var> be the result of
7054- <a lt="verify attribute value">verifying an attribute value</a> given <var> value</var> ,
7055- <var> attribute</var> , and <var> element</var> .
7056-
7057- <li><p> Set <var> attribute</var> to the result of
7058- <a lt="get an attribute by namespace and local name">getting an attribute</a> given
7059- <var> namespace</var> , <var> localName</var> , and <var> element</var> .
7060-
7061- <li><p> If <var> attribute</var> is null, create an <a>attribute</a> whose <a for=Attr>namespace</a>
7062- is <var> namespace</var> , <a for=Attr>namespace prefix</a> is <var> prefix</var> ,
7063- <a for=Attr>local name</a> is <var> localName</var> , <a for=Attr>value</a> is
7064- <var> verifiedValue</var> , and <a for=Node>node document</a> is <var> element</var> 's
7065- <a for=Node>node document</a> , then <a lt="append an attribute">append</a> this <a>attribute</a> to
7066- <var> element</var> , and then return.
7047+ <li> If <var> attribute</var> is null, create an <a>attribute</a> whose <a for=Attr>namespace</a> is
7048+ <var> namespace</var> , <a for=Attr>namespace prefix</a> is <var> prefix</var> ,
7049+ <a for=Attr>local name</a> is <var> localName</var> , <a for=Attr>value</a> is <var> value</var> , and
7050+ <a for=Node>node document</a> is <var> element</var> 's <a for=Node>node document</a> , then
7051+ <a lt="append an attribute">append</a> this <a>attribute</a> to <var> element</var> , and then
7052+ return.
70677053
7068- <li><p> <a lt="change an attribute">Change</a> <var> attribute</var> to <var> verifiedValue </var> .
7054+ <li><p> <a lt="change an attribute">Change</a> <var> attribute</var> to <var> value </var> .
70697055</ol>
70707056</div>
70717057
0 commit comments