mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-09 09:39:39 +00:00
LibWeb: Cache the margin box rect for floating boxes
This commit is contained in:
parent
00cef330ef
commit
f3f1db7725
Notes:
github-actions[bot]
2025-01-21 20:07:47 +00:00
Author: https://github.com/Gingeh
Commit: f3f1db7725
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3331
2 changed files with 10 additions and 2 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue