Re: [whatwg/dom] Integrate Trusted Types enforcement into attribute handling (PR #1268)

@tete17 commented on this pull request.



> @@ -7436,8 +7449,12 @@ method steps are:
  [=validate and extract|validating and extracting=] <var>namespace</var> and
  <var>qualifiedName</var> given "<code>element</code>".
 
- <li><p><a>Set an attribute value</a> for <a>this</a> using <var>localName</var>, <var>value</var>,
- and also <var>prefix</var> and <var>namespace</var>.
+ <li><p>Let <var>verifiedValue</var> be the result of calling <a abstract-op>get
+ Trusted Types-compliant attribute value</a> with <var>localName</var>, <var>namespace</var>,
+ <var>element</var>, and <var>value</var>. [[!TRUSTED-TYPES]]

```suggestion
 <var>this</var>, and <var>value</var>. [[!TRUSTED-TYPES]]
```

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/pull/1268#pullrequestreview-3330853085
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/dom/pull/1268/review/3330853085@github.com>

Received on Monday, 13 October 2025 11:01:22 UTC