diff options
Diffstat (limited to 'Userland/Libraries/LibWeb/Layout/Node.cpp')
-rw-r--r-- | Userland/Libraries/LibWeb/Layout/Node.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/Layout/Node.cpp b/Userland/Libraries/LibWeb/Layout/Node.cpp index 2142b0a24d..3b167b6ba1 100644 --- a/Userland/Libraries/LibWeb/Layout/Node.cpp +++ b/Userland/Libraries/LibWeb/Layout/Node.cpp @@ -267,6 +267,9 @@ void NodeWithStyle::apply_style(const CSS::StyleProperties& specified_style) if (flex_basis.has_value()) computed_values.set_flex_basis(flex_basis.value()); + computed_values.set_flex_grow_factor(specified_style.flex_grow_factor()); + computed_values.set_flex_shrink_factor(specified_style.flex_shrink_factor()); + auto position = specified_style.position(); if (position.has_value()) { computed_values.set_position(position.value()); |