mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 15:17:45 +00:00
LibWeb: Expose ParentNode.{first,last}ElementChild
I needed these to write the event dispatcher test.
This commit is contained in:
parent
e8b3a65581
commit
c5e15d9282
6 changed files with 41 additions and 1 deletions
|
@ -5,6 +5,9 @@ interface Element : Node {
|
|||
DOMString? getAttribute(DOMString qualifiedName);
|
||||
void setAttribute(DOMString qualifiedName, DOMString value);
|
||||
|
||||
readonly attribute Element? firstElementChild;
|
||||
readonly attribute Element? lastElementChild;
|
||||
|
||||
Element? querySelector(DOMString selectors);
|
||||
ArrayFromVector querySelectorAll(DOMString selectors);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue