mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 20:28:11 +00:00
LibWeb: Move set_scroll_offset() from Layout::Box to PaintableBox
Nodes in layout tree should not be aware of scroll state.
This commit is contained in:
parent
5b7926fa53
commit
fee5b4deb6
5 changed files with 24 additions and 23 deletions
|
@ -54,7 +54,6 @@ public:
|
|||
bool is_scroll_container() const;
|
||||
|
||||
bool is_scrollable() const;
|
||||
void set_scroll_offset(CSSPixelPoint);
|
||||
|
||||
protected:
|
||||
Box(DOM::Document&, DOM::Node*, NonnullRefPtr<CSS::StyleProperties>);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue