Skip to content
Permalink
Browse files
Put ShadowRootInit.slotAssignment behind a flag
https://bugs.webkit.org/show_bug.cgi?id=243654

Reviewed by Ryosuke Niwa.

`ShadowRootInit.slotAssignment` should not work if ImperativeSlotAPIEnabled=false.

* Source/WebCore/dom/ShadowRootInit.idl:

Canonical link: https://commits.webkit.org/253199@main
  • Loading branch information
tetsuharuohzeki authored and rniwa committed Aug 8, 2022
1 parent d94de81 commit 6587a3af61c6433c2189643d53bdee2f672f18ee
Showing 1 changed file with 1 addition and 1 deletion.
@@ -26,5 +26,5 @@
dictionary ShadowRootInit {
required ShadowRootMode mode;
boolean delegatesFocus = false;
SlotAssignmentMode slotAssignment = "named";
[EnabledBySetting=ImperativeSlotAPIEnabled] SlotAssignmentMode slotAssignment = "named";
};

0 comments on commit 6587a3a

Please sign in to comment.