- From: Luke Warlow <notifications@github.com>
- Date: Tue, 16 Apr 2024 03:32:17 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 16 April 2024 10:32:21 UTC
@lukewarlow commented on this pull request. > @@ -3040,6 +3042,39 @@ standards that want to define APIs shared between <a for=/>documents</a> and <a for=CharacterData>data</a> is the string and <a for=Node>node document</a> is <var>document</var>. + <li><p>Let <var>isScriptElement</var> be true if <var>parent</var> is an {{HTMLScriptElement}} + <a for=/>node</a>; otherwise false. + + <li> + <p><a for=set>For each</a> <var>value</var> of <var>nodes</var>: + + <ol> + <li> + <p>If <var>value</var> is a <a for=/>node</a>, then: + + <ol> + <li><p>If <var>value</var> is a {{Text}} <a for=/>node</a>, and <var>isScriptElement</var> + is false, then set <var>value</var>'s <a for=CharacterData>data</a> to <var>text</var> the 🤦🏻 yep it should be true. Sorry. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/pull/1258#discussion_r1567126222 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/dom/pull/1258/review/2003252373@github.com>
Received on Tuesday, 16 April 2024 10:32:21 UTC