mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-28 12:18:25 +00:00
LibWeb: Add "allow declarative shadow roots" flag to Document
This commit is contained in:
committed by
Andreas Kling
parent
637ccbec35
commit
f3070118b1
@@ -246,6 +246,9 @@ WebIDL::ExceptionOr<BrowsingContext::BrowsingContextAndDocument> BrowsingContext
|
||||
// about base URL: creatorBaseURL
|
||||
document->set_about_base_url(creator_base_url);
|
||||
|
||||
// allow declarative shadow roots: true
|
||||
document->set_allow_declarative_shadow_roots(true);
|
||||
|
||||
// 16. If creator is non-null, then:
|
||||
if (creator) {
|
||||
// 1. Set document's referrer to the serialization of creator's URL.
|
||||
|
||||
Reference in New Issue
Block a user