mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:17:44 +00:00
LibWeb: Use rect value in CSS clip property
When a rect value is passed to the clip property via CSS, keep it in ComputedValues so that at a later stage can make use of it.
This commit is contained in:
parent
b4dd477644
commit
8163ee1500
9 changed files with 84 additions and 0 deletions
|
@ -385,6 +385,7 @@ void NodeWithStyle::apply_style(const CSS::StyleProperties& computed_style)
|
|||
computed_values.set_flex_grow(computed_style.flex_grow());
|
||||
computed_values.set_flex_shrink(computed_style.flex_shrink());
|
||||
computed_values.set_order(computed_style.order());
|
||||
computed_values.set_clip(computed_style.clip());
|
||||
|
||||
auto justify_content = computed_style.justify_content();
|
||||
if (justify_content.has_value())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue