Skip to content

Commit 6fe40a3

Browse files
committed
Rename originalElement to just element
1 parent 1e3cef8 commit 6fe40a3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dom.bs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8049,17 +8049,17 @@ string <var>value</var>, run these steps:
80498049
<p>Otherwise:
80508050

80518051
<ol>
8052-
<li><p>Let <var>originalElement</var> be <var>attribute</var>'s <a for=Attr>element</a>.
8052+
<li><p>Let <var>element</var> be <var>attribute</var>'s <a for=Attr>element</a>.
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
80568056
<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]]
8057+
<var>element</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.
80618061

8062-
<li><p>If <var>attribute</var>'s <a for=Attr>element</a> is not <var>originalElement</var>, then
8062+
<li><p>If <var>attribute</var>'s <a for=Attr>element</a> is not <var>element</var>, then
80638063
return.
80648064

80658065
<li><p><a lt="change an attribute">Change</a> <var>attribute</var> to <var>verifiedValue</var>.

0 commit comments

Comments
 (0)