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

@fred-wang 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>.
+

Just for the record, this is https://phabricator.services.mozilla.com/D236107?id=977466#inline-1311431 and I agree with @smaug---- this is a problem in my current patch. I also started to add test for this and other cases in https://phabricator.services.mozilla.com/D236161#change-XQGcauHgW6CO



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

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

Received on Friday, 7 February 2025 05:49:19 UTC