2022-02-15 22:40:51 +03:30
|
|
|
#import <DOM/DocumentFragment.idl>
|
2022-07-27 20:42:20 +01:00
|
|
|
#import <DOM/InnerHTML.idl>
|
2022-02-15 22:40:51 +03:30
|
|
|
|
2022-07-27 20:42:20 +01:00
|
|
|
// https://dom.spec.whatwg.org/#shadowroot
|
2020-11-21 18:32:39 +00:00
|
|
|
interface ShadowRoot : DocumentFragment {
|
2022-07-27 20:42:20 +01:00
|
|
|
// FIXME: mode should return a ShadowRootMode
|
2020-11-21 18:32:39 +00:00
|
|
|
readonly attribute DOMString mode;
|
2022-07-27 20:42:20 +01:00
|
|
|
// FIXME: readonly attribute boolean delegatesFocus;
|
|
|
|
|
// FIXME: readonly attribute SlotAssignmentMode slotAssignment;
|
2020-11-21 18:32:39 +00:00
|
|
|
readonly attribute Element host;
|
2022-07-27 20:42:20 +01:00
|
|
|
// FIXME: attribute EventHandler onslotchange;
|
2020-12-09 21:26:42 +00:00
|
|
|
};
|
2022-07-27 20:42:20 +01:00
|
|
|
|
2022-07-30 11:31:17 +01:00
|
|
|
ShadowRoot includes InnerHTML;
|
|
|
|
|
|
2022-07-27 20:42:20 +01:00
|
|
|
enum ShadowRootMode { "open", "closed" };
|
|
|
|
|
enum SlotAssignmentMode { "manual", "named" };
|