- From: Noam Rosenthal <notifications@github.com>
- Date: Thu, 02 Jul 2026 07:53:13 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 2 July 2026 14:53:17 UTC
@noamr commented on this pull request.
> @@ -5017,7 +5017,7 @@ and an optional <a for=/>document</a> <dfn export for="clone a node"><var>docume
<ol>
<li><p>Set <var>copy</var>'s <a for=Document>encoding</a>, <a for=Document>content type</a>,
<a for=Document>URL</a>, <a for=Document>origin</a>, <a for=Document>type</a>,
- <a for=Document>mode</a>, and <a for=Document>allow declarative shadow roots</a>, to those of
+ and <a for=Document>mode</a>, to those of
<var>node</var>.
https://whatpr.org/html/12624/parsing.html#allow-declarative-shadow-roots is false by default, and https://xhr.spec.whatwg.org/#document-response uses the default settings, so I think spec-wise this is OK.
There is a test for this [here](https://github.com/web-platform-tests/wpt/blob/master/shadow-dom/declarative/declarative-shadow-dom-opt-in.html#L121-L131).
--
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/pull/1478#discussion_r3514009780
You are receiving this because you are subscribed to this thread.
Message ID: <whatwg/dom/pull/1478/review/4618689144@github.com>
Received on Thursday, 2 July 2026 14:53:17 UTC