mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-06 08:10:02 +00:00
LibWeb: Parse and propagate white-space-collapse
CSS property
This commit is contained in:
parent
3989059227
commit
ea30356fba
Notes:
github-actions[bot]
2025-05-29 10:06:12 +00:00
Author: https://github.com/Calme1709
Commit: ea30356fba
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4832
Reviewed-by: https://github.com/AtkinsSJ
Reviewed-by: https://github.com/gmta ✅
17 changed files with 321 additions and 180 deletions
|
@ -643,6 +643,7 @@ void NodeWithStyle::apply_style(CSS::ComputedProperties const& computed_style)
|
|||
computed_values.set_tab_size(computed_style.tab_size());
|
||||
|
||||
computed_values.set_white_space(computed_style.white_space());
|
||||
computed_values.set_white_space_collapse(computed_style.white_space_collapse());
|
||||
computed_values.set_word_break(computed_style.word_break());
|
||||
if (auto word_spacing = computed_style.word_spacing(); word_spacing.has_value())
|
||||
computed_values.set_word_spacing(word_spacing.value());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue