mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 05:39:11 +00:00
LibWeb: Store clip border radii in CSSPixels instead of DevicePixels
Paintable boxes should not hold information stored in device pixels. It should be converted from CSS pixels only by the time painting command recording occurs.
This commit is contained in:
parent
41f57a5477
commit
d27b376699
Notes:
sideshowbarker
2024-07-17 09:48:50 +09:00
Author: https://github.com/kalenikaliaksandr
Commit: d27b376699
Pull-request: https://github.com/SerenityOS/serenity/pull/23012
5 changed files with 13 additions and 10 deletions
|
@ -2085,7 +2085,7 @@ void Navigable::paint(Painting::RecordingPainter& recording_painter, PaintConfig
|
|||
HashMap<Painting::PaintableBox const*, Painting::ViewportPaintable::ScrollFrame> scroll_frames;
|
||||
if (is_traversable()) {
|
||||
document->paintable()->assign_scroll_frame_ids(scroll_frames);
|
||||
document->paintable()->assign_clip_rectangles(context);
|
||||
document->paintable()->assign_clip_rectangles();
|
||||
}
|
||||
|
||||
document->paintable()->paint_all_phases(context);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue