mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 09:38: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
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