mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:47:47 +00:00
LibWeb: Move window.scroll{X,Y} from wrapper into DOM::Window
The less we do in WindowObject, the easier it will be to eventually auto-generate the entire thing.
This commit is contained in:
parent
38157a6093
commit
2c0987c93b
3 changed files with 21 additions and 6 deletions
|
@ -80,6 +80,9 @@ public:
|
|||
NonnullRefPtr<CSS::CSSStyleDeclaration> get_computed_style(DOM::Element&) const;
|
||||
NonnullRefPtr<CSS::MediaQueryList> match_media(String);
|
||||
|
||||
float scroll_x() const;
|
||||
float scroll_y() const;
|
||||
|
||||
private:
|
||||
explicit Window(Document&);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue