mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 11:49:44 +00:00
LibWeb: Deduplicate clipping code
This makes it so that PaintableWithLines no longer has its own bespoke clipping logic, using the same code as regular scroll/ overflow clipping.
This commit is contained in:
parent
155e60a5ff
commit
85883ee5ce
Notes:
github-actions[bot]
2025-05-13 12:32:43 +00:00
Author: https://github.com/Psychpsyo
Commit: 85883ee5ce
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4565
Reviewed-by: https://github.com/gmta
Reviewed-by: https://github.com/kalenikaliaksandr
7 changed files with 52 additions and 44 deletions
|
@ -84,6 +84,7 @@ public:
|
|||
CSSPixelRect absolute_rect() const;
|
||||
CSSPixelRect absolute_padding_box_rect() const;
|
||||
CSSPixelRect absolute_border_box_rect() const;
|
||||
CSSPixelRect overflow_clip_edge_rect() const;
|
||||
CSSPixelRect absolute_paint_rect() const;
|
||||
|
||||
// These united versions of the above rects take continuation into account.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue