mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:17:35 +00:00
LibWeb: Move scroll_offset() from Layout::Box to PaintableBox
Nodes in layout tree should not be aware of scroll state.
This commit is contained in:
parent
23a07a8ab6
commit
5b7926fa53
6 changed files with 23 additions and 26 deletions
|
@ -54,7 +54,6 @@ public:
|
|||
bool is_scroll_container() const;
|
||||
|
||||
bool is_scrollable() const;
|
||||
CSSPixelPoint scroll_offset() const;
|
||||
void set_scroll_offset(CSSPixelPoint);
|
||||
|
||||
protected:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue