mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 04:37:44 +00:00
LibWeb: Extract the ParentNode IDL mixin
This commit is contained in:
parent
79fdc08de9
commit
d4c40e3aad
4 changed files with 27 additions and 46 deletions
|
@ -4,6 +4,7 @@
|
|||
#import <DOM/NamedNodeMap.idl>
|
||||
#import <DOM/Node.idl>
|
||||
#import <DOM/NodeList.idl>
|
||||
#import <DOM/ParentNode.idl>
|
||||
#import <Geometry/DOMRect.idl>
|
||||
#import <Geometry/DOMRectList.idl>
|
||||
|
||||
|
@ -46,20 +47,6 @@ interface Element : Node {
|
|||
|
||||
[ImplementedAs=style_for_bindings] readonly attribute CSSStyleDeclaration style;
|
||||
|
||||
// FIXME: These should all come from a ParentNode mixin (up to and including children)
|
||||
readonly attribute Element? firstElementChild;
|
||||
readonly attribute Element? lastElementChild;
|
||||
readonly attribute unsigned long childElementCount;
|
||||
|
||||
[CEReactions, Unscopable] undefined prepend((Node or DOMString)... nodes);
|
||||
[CEReactions, Unscopable] undefined append((Node or DOMString)... nodes);
|
||||
[CEReactions, Unscopable] undefined replaceChildren((Node or DOMString)... nodes);
|
||||
|
||||
Element? querySelector(DOMString selectors);
|
||||
[NewObject] NodeList querySelectorAll(DOMString selectors);
|
||||
|
||||
[SameObject] readonly attribute HTMLCollection children;
|
||||
|
||||
DOMRect getBoundingClientRect();
|
||||
DOMRectList getClientRects();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue