mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-07 08:39:22 +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
|
@ -830,6 +830,12 @@ WhiteSpace ComputedProperties::white_space() const
|
|||
return keyword_to_white_space(value.to_keyword()).release_value();
|
||||
}
|
||||
|
||||
WhiteSpaceCollapse ComputedProperties::white_space_collapse() const
|
||||
{
|
||||
auto const& value = property(PropertyID::WhiteSpaceCollapse);
|
||||
return keyword_to_white_space_collapse(value.to_keyword()).release_value();
|
||||
}
|
||||
|
||||
Optional<LengthOrCalculated> ComputedProperties::letter_spacing() const
|
||||
{
|
||||
auto const& value = property(PropertyID::LetterSpacing);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue