mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 05:17:35 +00:00
LibWeb: Don't convert to floating point in CSS::EdgeRect
This commit is contained in:
parent
9d4a1ac2b3
commit
709767cc4b
3 changed files with 8 additions and 8 deletions
|
@ -19,7 +19,7 @@ struct EdgeRect {
|
|||
Length right_edge;
|
||||
Length bottom_edge;
|
||||
Length left_edge;
|
||||
Gfx::FloatRect resolved(Layout::Node const&, Gfx::Rect<double>) const;
|
||||
CSSPixelRect resolved(Layout::Node const&, CSSPixelRect) const;
|
||||
bool operator==(EdgeRect const&) const = default;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue