Skip to content

Commit 1e3cef8

Browse files
committed
Replace this with originalElement inside set an existing attribute value
1 parent eb1b546 commit 1e3cef8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dom.bs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8053,8 +8053,8 @@ string <var>value</var>, run these steps:
80538053

80548054
<li><p>Let <var>verifiedValue</var> be the result of calling <a abstract-op>get
80558055
Trusted Types-compliant attribute value</a> with <var>attribute</var>'s
8056-
<a for=Attr>local name</a>, <var>attribute</var>'s <a for=Attr>namespace</a>, <a>this</a>,
8057-
and <var>value</var>. [[!TRUSTED-TYPES]]
8056+
<a for=Attr>local name</a>, <var>attribute</var>'s <a for=Attr>namespace</a>,
8057+
<var>originalElement</var>, and <var>value</var>. [[!TRUSTED-TYPES]]
80588058

80598059
<li><p>If <var>attribute</var>'s <a for=Attr>element</a> is null, then set <var>attribute</var>'s
80608060
<a for=Attr>value</a> to <var>verifiedValue</var>, and return.

0 commit comments

Comments
 (0)