mirror of
https://github.com/RGBCube/serenity
synced 2025-05-18 02:15:06 +00:00

NewAKString is effectively the default for any new IDL interface, so let's mark this as the default behavior. It also makes it much easier to figure out whatever interfaces are still left to port over to new AK String.
17 lines
571 B
Text
17 lines
571 B
Text
#import <DOM/DocumentFragment.idl>
|
|
#import <DOM/InnerHTML.idl>
|
|
|
|
// https://dom.spec.whatwg.org/#shadowroot
|
|
[Exposed=Window, UseDeprecatedAKString]
|
|
interface ShadowRoot : DocumentFragment {
|
|
readonly attribute ShadowRootMode 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" };
|