mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:17:35 +00:00
LibWeb: Implement document.scrollingElement
This returns a reference to the element that scrolls the document. In standards mode it is equivalent to `document.documentElement`.
This commit is contained in:
parent
fc8f6c07b4
commit
c24652bd2e
7 changed files with 44 additions and 0 deletions
|
@ -122,6 +122,7 @@ interface Document : Node {
|
|||
// https://drafts.csswg.org/cssom-view/#extensions-to-the-document-interface
|
||||
Element? elementFromPoint(double x, double y);
|
||||
sequence<Element> elementsFromPoint(double x, double y);
|
||||
readonly attribute Element? scrollingElement;
|
||||
};
|
||||
|
||||
dictionary ElementCreationOptions {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue