1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-02 23:42:13 +00:00

LibWeb: Add support for justify-self property in CSS parser

This commit is contained in:
Aliaksandr Kalenik 2023-07-14 14:41:22 +02:00 committed by Andreas Kling
parent fbab9bc330
commit fedbb39e9e
7 changed files with 39 additions and 0 deletions

View file

@ -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_self = computed_style.justify_self();
if (justify_self.has_value())
computed_values.set_justify_self(justify_self.value());
auto accent_color = computed_style.accent_color(*this);
if (accent_color.has_value())
computed_values.set_accent_color(accent_color.value());