#import #import // https://dom.spec.whatwg.org/#shadowroot [Exposed=Window] 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; }; ShadowRoot includes InnerHTML; enum ShadowRootMode { "open", "closed" }; enum SlotAssignmentMode { "manual", "named" };