Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 3a653d746ba1065cc85bac38902bd129bd3dd0a3
https://github.com/WebKit/WebKit/commit/3a653d746ba1065cc85bac38902bd129bd3dd0a3
Author: Anne van Kesteren <[email protected]>
Date: 2026-09-02 (Wed, 02 Sep 2026)
Changed paths:
M
LayoutTests/imported/w3c/web-platform-tests/shadow-dom/declarative/declarative-shadow-dom-opt-in-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/shadow-dom/declarative/declarative-shadow-dom-opt-in.html
M Source/WebCore/dom/Document.cpp
M Source/WebCore/dom/Document.h
M Source/WebCore/dom/SerializedNode.cpp
Log Message:
-----------
Preserve document's declarative shadow root opt-in when cloning
https://bugs.webkit.org/show_bug.cgi?id=323212
Reviewed by Ryosuke Niwa.
Per the DOM standard allow declarative shadow roots needs to survive
cloning. And per discussion Document.parseHTMLUnsafe() should not have an
opaque origin. It's already not opaque in other browsers.
Canonical link: https://commits.webkit.org/320399@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications