LibWeb: Parse and propagate text-wrap-mode CSS property

This commit is contained in:
Callum Law 2025-05-18 00:49:25 +12:00 committed by Jelle Raaijmakers
commit 50bdd2cb85
Notes: github-actions[bot] 2025-05-29 10:06:06 +00:00
16 changed files with 333 additions and 183 deletions

View file

@ -1180,6 +1180,12 @@ Vector<ShadowData> ComputedProperties::text_shadow(Layout::Node const& layout_no
return shadow(PropertyID::TextShadow, layout_node);
}
TextWrapMode ComputedProperties::text_wrap_mode() const
{
auto const& value = property(PropertyID::TextWrapMode);
return keyword_to_text_wrap_mode(value.to_keyword()).release_value();
}
BoxSizing ComputedProperties::box_sizing() const
{
auto const& value = property(PropertyID::BoxSizing);