ladybird/Userland/Libraries/LibWeb/DOM/ShadowRoot.idl
2022-07-29 17:15:49 +01:00

16 lines
544 B
Plaintext

#import <DOM/DocumentFragment.idl>
#import <DOM/InnerHTML.idl>
// https://dom.spec.whatwg.org/#shadowroot
interface ShadowRoot : DocumentFragment {
// FIXME: mode should return a ShadowRootMode
readonly attribute DOMString mode;
// FIXME: readonly attribute boolean delegatesFocus;
// FIXME: readonly attribute SlotAssignmentMode slotAssignment;
readonly attribute Element host;
// FIXME: attribute EventHandler onslotchange;
};
enum ShadowRootMode { "open", "closed" };
enum SlotAssignmentMode { "manual", "named" };