mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
LibWeb: Parse and propagate white-space-collapse CSS property
This commit is contained in:
committed by
Jelle Raaijmakers
parent
3989059227
commit
ea30356fba
Notes:
github-actions[bot]
2025-05-29 10:06:12 +00:00
Author: https://github.com/Calme1709 Commit: https://github.com/LadybirdBrowser/ladybird/commit/ea30356fbab Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4832 Reviewed-by: https://github.com/AtkinsSJ Reviewed-by: https://github.com/gmta ✅
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user