mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-18 08:20:44 +00:00
LibWeb: Fix document element's .scrollHeight
and .scrollWidth
We were using the viewport's size as the viewport scrolling area, but those are completely different things.
This commit is contained in:
parent
8f139d065c
commit
e8e6dbcee0
Notes:
github-actions[bot]
2025-06-17 16:18:46 +00:00
Author: https://github.com/gmta
Commit: e8e6dbcee0
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5121
Reviewed-by: https://github.com/tcl3 ✅
8 changed files with 36 additions and 16 deletions
|
@ -298,8 +298,8 @@ public:
|
|||
void set_scroll_top(double y);
|
||||
void set_scroll_left(double x);
|
||||
|
||||
int scroll_width() const;
|
||||
int scroll_height() const;
|
||||
int scroll_width();
|
||||
int scroll_height();
|
||||
|
||||
bool is_actually_disabled() const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue