Skip to content

Commit aaaae9c

Browse files
committed
Revert larger change to setAttributeNs as its no longer neccessary.
1 parent 15e9f57 commit aaaae9c

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

dom.bs

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7329,18 +7329,8 @@ method steps are:
73297329
Trusted Types-compliant attribute value</a> with <var>localName</var>, <var>namespace</var>,
73307330
<var>element</var>, and <var>value</var>. [[!TRUSTED-TYPES]]
73317331

7332-
<li><p>Let <var>attribute</var> be the result of
7333-
<a lt="get an attribute by namespace and local name">getting an attribute</a> given
7334-
<var>namespace</var>, <var>localName</var>, and <var>element</var>.
7335-
7336-
<li><p>If <var>attribute</var> is null, create an <a>attribute</a> whose <a for=Attr>namespace</a>
7337-
is <var>namespace</var>, <a for=Attr>namespace prefix</a> is <var>prefix</var>,
7338-
<a for=Attr>local name</a> is <var>localName</var>, <a for=Attr>value</a> is
7339-
<var>verifiedValue</var>, and <a for=Node>node document</a> is <var>element</var>'s
7340-
<a for=Node>node document</a>, then <a lt="append an attribute">append</a> this <a>attribute</a> to
7341-
<var>element</var>, and then return.
7342-
7343-
<li><p><a lt="change an attribute">Change</a> <var>attribute</var> to <var>verifiedValue</var>.
7332+
<li><p><a>Set an attribute value</a> for <a>this</a> using <var>localName</var>,
7333+
<var>verifiedValue</var>, and also <var>prefix</var> and <var>namespace</var>.
73447334
</ol>
73457335

73467336
<p>The

0 commit comments

Comments
 (0)