mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 00:27:43 +00:00
LibWeb: Add support for justify-items property in CSS parser
This commit is contained in:
parent
e86d7cab06
commit
f060f89220
8 changed files with 40 additions and 0 deletions
|
@ -491,6 +491,10 @@ void NodeWithStyle::apply_style(const CSS::StyleProperties& computed_style)
|
|||
if (justify_content.has_value())
|
||||
computed_values.set_justify_content(justify_content.value());
|
||||
|
||||
auto justify_items = computed_style.justify_items();
|
||||
if (justify_items.has_value())
|
||||
computed_values.set_justify_items(justify_items.value());
|
||||
|
||||
auto justify_self = computed_style.justify_self();
|
||||
if (justify_self.has_value())
|
||||
computed_values.set_justify_self(justify_self.value());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue