Re: [whatwg/dom] Draft integration with Trusted Types, take 2. (PR #1247)

@koto commented on this pull request.



> @@ -6760,7 +6790,7 @@ method steps are:
 
  <li><p>If <var>attribute</var> is null, create an <a>attribute</a> whose
  <a for=Attr>local name</a> is <var>qualifiedName</var>, <a for=Attr>value</a> is
- <var>value</var>, and <a for=Node>node document</a> is <a>this</a>'s <a for=Node>node document</a>,
+ stringified <var>value</var>, and <a for=Node>node document</a> is <a>this</a>'s <a for=Node>node document</a>,

I actually rewrote all this from scratch, adding an algorithm that validates with TT and sets the attr value (a string at that point). There's no need for stringification in DOM now, PTAL.

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

Message ID: <whatwg/dom/pull/1247/review/1843449644@github.com>

Received on Thursday, 25 January 2024 11:14:29 UTC