mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 13:49:16 +00:00
LibWeb: Parse and propagate text-wrap-mode
CSS property
This commit is contained in:
parent
ea30356fba
commit
50bdd2cb85
Notes:
github-actions[bot]
2025-05-29 10:06:06 +00:00
Author: https://github.com/Calme1709
Commit: 50bdd2cb85
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4832
Reviewed-by: https://github.com/AtkinsSJ
Reviewed-by: https://github.com/gmta ✅
16 changed files with 333 additions and 183 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue