- From: Anne van Kesteren <notifications@github.com>
- Date: Mon, 15 Apr 2024 22:27:27 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 16 April 2024 05:27:31 UTC
@annevk commented on this pull request.
> +
+ <li><p>Set <var>value</var>'s <a for=CharacterData>data</a> to <var>text</var>.
+ </ol>
+
+ <li>
+ <p>If <var>value</var> is a {{TrustedScript}}, then:
+
+ <ol>
+ <li><p>Let <var>text</var> be <var>value</var>'s <a for=TrustedScript>\[[Data]]</a>
+ internal slot value.
+
+ <li><p>Let <var>newValue</var> be a new {{Text}} <a for=/>node</a> whose
+ <a for=CharacterData>data</a> is <var>text</var> and <a for=Node>node document</a> is
+ <var>document</var>.
+
+ <li><p>Replace <var>value</var> with <var>newValue</var>.
That would sidestep this issue so that's probably better, yeah.
--
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/pull/1258#discussion_r1566724775
You are receiving this because you are subscribed to this thread.
Message ID: <whatwg/dom/pull/1258/review/2002603852@github.com>
Received on Tuesday, 16 April 2024 05:27:31 UTC