mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:37:44 +00:00
LibWeb: Move element_child_count to ParentNode and add its IDL attribute
I initially had it in Node just because, but then saw it was part of ParentNode in the spec.
This commit is contained in:
parent
fc9abee84b
commit
83d2c3f2f5
7 changed files with 31 additions and 25 deletions
|
@ -2,8 +2,10 @@ interface DocumentFragment : Node {
|
|||
|
||||
Element? getElementById(DOMString id);
|
||||
|
||||
// FIXME: These should all come from a ParentNode mixin
|
||||
readonly attribute Element? firstElementChild;
|
||||
readonly attribute Element? lastElementChild;
|
||||
readonly attribute unsigned long childElementCount;
|
||||
|
||||
Element? querySelector(DOMString selectors);
|
||||
ArrayFromVector querySelectorAll(DOMString selectors);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue