1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 03:07:36 +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:
Tim Ledbetter 2024-02-15 23:14:55 +00:00 committed by Tim Flynn
parent fc8f6c07b4
commit c24652bd2e
7 changed files with 44 additions and 0 deletions

View file

@ -0,0 +1,2 @@
document.compatMode: CSS1Compat
document.scrollingElement is document root element: true