mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 08:37:46 +00:00
LibWeb: Extract the InnerHTML IDL mixin
This commit is contained in:
parent
b456adcb59
commit
200e111af0
3 changed files with 17 additions and 8 deletions
|
@ -1,11 +1,15 @@
|
|||
#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: This should come from a InnerHTML mixin.
|
||||
[LegacyNullToEmptyString] attribute DOMString innerHTML;
|
||||
|
||||
// FIXME: attribute EventHandler onslotchange;
|
||||
};
|
||||
|
||||
enum ShadowRootMode { "open", "closed" };
|
||||
enum SlotAssignmentMode { "manual", "named" };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue