1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 19:07:34 +00:00

LibWeb: Make ShadowRoot.mode return ShadowRootMode instead of String

This commit is contained in:
Karol Kosek 2023-01-28 20:31:56 +01:00 committed by Andreas Kling
parent 34913c48d3
commit 9a7f786262
3 changed files with 6 additions and 9 deletions

View file

@ -4,8 +4,7 @@
// https://dom.spec.whatwg.org/#shadowroot
[Exposed=Window]
interface ShadowRoot : DocumentFragment {
// FIXME: mode should return a ShadowRootMode
readonly attribute DOMString mode;
readonly attribute ShadowRootMode mode;
// FIXME: readonly attribute boolean delegatesFocus;
// FIXME: readonly attribute SlotAssignmentMode slotAssignment;
readonly attribute Element host;