mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 17:57:34 +00:00
LibWeb: Implement clip property
Implement clip when it is defined in the css property 'clip' as a rect according to spec; only when the div is absolutely positioned.
This commit is contained in:
parent
8163ee1500
commit
5049a56d96
3 changed files with 33 additions and 0 deletions
|
@ -89,6 +89,7 @@ struct EdgeRect {
|
|||
Length right_edge;
|
||||
Length bottom_edge;
|
||||
Length left_edge;
|
||||
Gfx::FloatRect resolved(Layout::Node const&, Gfx::FloatRect) const;
|
||||
};
|
||||
|
||||
// FIXME: Find a better place for this helper.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue