- From: Anne van Kesteren <notifications@github.com>
- Date: Wed, 17 Apr 2024 08:14:09 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 17 April 2024 15:14:13 UTC
@annevk commented on this pull request.
> + <ol>
+ <li><p>Let <var>newValue</var> be a new {{Text}} <a for=/>node</a> whose
+ <a for=Node>node document</a> is <var>document</var> and <a for=CharacterData>data</a> is the
+ result of calling <a abstract-op>Get Trusted Type compliant string</a>, with {{TrustedScript}},
+ <var>document</var>'s <a>relevant global object</a>, <var>value</var>'s <a
+ for=CharacterData>data</a>, "<code>HTMLScriptElement text</code>", and "<code>script</code>".
+
+ <li><p><a for=list>Append</a> <var>newValue</var> to <var>newNodes</var>.
+ </ol>
+
+ <li>
+ <p>Otherwise, if <var>value</var> is a {{TrustedScript}}:
+
+ <ol>
+ <li><p>Let <var>newValue</var> be a new {{Text}} <a for=/>node</a> whose
+ <a for=CharacterData>data</a> is <var>value</var>'s <a for=TrustedScript>data</a>
Likely, yeah.
--
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/pull/1258#discussion_r1569017810
You are receiving this because you are subscribed to this thread.
Message ID: <whatwg/dom/pull/1258/review/2006334882@github.com>
Received on Wednesday, 17 April 2024 15:14:13 UTC