mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 05:09:12 +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
|
@ -640,6 +640,7 @@ void NodeWithStyle::apply_style(CSS::ComputedProperties const& computed_style)
|
|||
if (auto text_indent = computed_style.length_percentage(CSS::PropertyID::TextIndent); text_indent.has_value())
|
||||
computed_values.set_text_indent(text_indent.release_value());
|
||||
|
||||
computed_values.set_text_wrap_mode(computed_style.text_wrap_mode());
|
||||
computed_values.set_tab_size(computed_style.tab_size());
|
||||
|
||||
computed_values.set_white_space(computed_style.white_space());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue