LibWeb: Cache the margin box rect for floating boxes

This commit is contained in:
Gingeh 2025-01-21 21:08:40 +11:00 committed by Andreas Kling
commit f3f1db7725
Notes: github-actions[bot] 2025-01-21 20:07:47 +00:00
2 changed files with 10 additions and 2 deletions

View file

@ -99,6 +99,8 @@ private:
// Bottom margin edge of `box`.
CSSPixels bottom_margin_edge { 0 };
CSSPixelRect margin_box_rect_in_root_coordinate_space;
};
struct FloatSideData {