LibWeb: Parse the CSS align-content property

This commit is contained in:
Andreas Kling 2022-10-14 13:50:06 +02:00
commit f8a2c0586a
Notes: sideshowbarker 2024-07-17 05:47:47 +09:00
6 changed files with 30 additions and 0 deletions

View file

@ -398,6 +398,10 @@ void NodeWithStyle::apply_style(const CSS::StyleProperties& computed_style)
if (justify_content.has_value())
computed_values.set_justify_content(justify_content.value());
auto align_content = computed_style.align_content();
if (align_content.has_value())
computed_values.set_align_content(align_content.value());
auto align_items = computed_style.align_items();
if (align_items.has_value())
computed_values.set_align_items(align_items.value());