From 0a4012b4be7664c3d567d17900db9136a066c994 Mon Sep 17 00:00:00 2001 From: Marco Castelluccio Date: Thu, 1 Feb 2024 00:42:26 +0000 Subject: [PATCH] Bug 1876659 [wpt PR 44216] - Add support for the shadow root clonable flag, a=testonly Automatic update from web-platform-tests Add support for the shadow root clonable flag This landed in the these two spec PRs: https://github.com/whatwg/dom/pull/892 https://github.com/whatwg/dom/pull/1237 and was discussed here: https://github.com/whatwg/dom/issues/1137 https://github.com/whatwg/dom/issues/1236 This CL adds support for clonable, behind a new ShadowRootClonable flag. There was already a very basic test, but I added a few more cases. This should be fairly web compatible, but there is a risk since with this feature enabled, declarative shadow roots in the main document (as opposed to in a