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:
Aliaksandr Kalenik 2024-01-30 09:45:10 +01:00 committed by Andreas Kling
commit d27b376699
Notes: sideshowbarker 2024-07-17 09:48:50 +09:00
5 changed files with 13 additions and 10 deletions

View file

@ -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);