mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-15 23:09:05 +00:00
LibWeb: Apply clip rect before painting background and foreground items
This commit is contained in:
parent
6584ae0080
commit
212d748ded
Notes:
github-actions[bot]
2025-06-24 11:58:05 +00:00
Author: https://github.com/tcl3
Commit: 212d748ded
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5185
Reviewed-by: https://github.com/AtkinsSJ ✅
13 changed files with 217 additions and 12 deletions
|
@ -79,6 +79,9 @@ public:
|
|||
virtual void apply_scroll_offset(PaintContext&, PaintPhase) const { }
|
||||
virtual void reset_scroll_offset(PaintContext&, PaintPhase) const { }
|
||||
|
||||
virtual void apply_own_clip_rect(PaintContext&, PaintPhase) const { }
|
||||
virtual void clear_own_clip_rect(PaintContext&, PaintPhase) const { }
|
||||
|
||||
virtual void apply_clip_overflow_rect(PaintContext&, PaintPhase) const { }
|
||||
virtual void clear_clip_overflow_rect(PaintContext&, PaintPhase) const { }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue