1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 08:27:46 +00:00

LibWeb: Extract the InnerHTML IDL mixin

This commit is contained in:
Sam Atkins 2022-07-27 20:42:20 +01:00 committed by Linus Groh
parent b456adcb59
commit 200e111af0
3 changed files with 17 additions and 8 deletions

View file

@ -1,6 +1,7 @@
#import <CSS/CSSStyleDeclaration.idl>
#import <DOM/ChildNode.idl>
#import <DOM/DOMTokenList.idl>
#import <DOM/InnerHTML.idl>
#import <DOM/NamedNodeMap.idl>
#import <DOM/Node.idl>
#import <DOM/NodeList.idl>
@ -29,9 +30,6 @@ interface Element : Node {
HTMLCollection getElementsByTagNameNS(DOMString? namespace, DOMString localName);
HTMLCollection getElementsByClassName(DOMString className);
// FIXME: This should come from a InnerHTML mixin.
[LegacyNullToEmptyString, CEReactions] attribute DOMString innerHTML;
[Reflect] attribute DOMString id;
[Reflect=class] attribute DOMString className;
[SameObject, PutForwards=value] readonly attribute DOMTokenList classList;