Re: [whatwg/dom] Trusted types attributes (PR #1268)

@mozfreddyb commented on this pull request.



> @@ -6519,6 +6529,11 @@ string <var>namespace</var> (default null):</p>
 
  <li><p>If <var>oldAttr</var> is <var>attr</var>, return <var>attr</var>.
 
+ <li><p>Let <var>verifiedValue</var> be the result of calling <a>verify attribute value</a>
+ <var>attr</var>'s <a for=Attr>value</a> for <var>attr</var>, with <var>element</var>.
+
+ <li><p>Set <var>attr</var>'s <a for=Attr>value</a> to <var>verifiedValue</var>.
+

The default policy only getting attribute information is an issue elsewhere, btw. https://github.com/w3c/trusted-types/issues/569 - Would be useful to add element information imho.

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

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

Received on Monday, 3 February 2025 08:05:52 UTC