mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-26 18:09:45 +00:00
LibWeb: Remove unused variable in white-space property serialization
This commit is contained in:
parent
ab3eb9adab
commit
ca9d107a1a
Notes:
github-actions[bot]
2025-10-20 15:14:25 +00:00
Author: https://github.com/Calme1709
Commit: ca9d107a1a
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6426
Reviewed-by: https://github.com/AtkinsSJ ✅
1 changed files with 0 additions and 2 deletions
|
|
@ -845,8 +845,6 @@ String ShorthandStyleValue::to_string(SerializationMode mode) const
|
||||||
auto text_wrap_mode_property = longhand(PropertyID::TextWrapMode);
|
auto text_wrap_mode_property = longhand(PropertyID::TextWrapMode);
|
||||||
auto white_space_trim_property = longhand(PropertyID::WhiteSpaceTrim);
|
auto white_space_trim_property = longhand(PropertyID::WhiteSpaceTrim);
|
||||||
|
|
||||||
RefPtr<StyleValue const> value;
|
|
||||||
|
|
||||||
if (white_space_trim_property->is_keyword() && white_space_trim_property->as_keyword().keyword() == Keyword::None) {
|
if (white_space_trim_property->is_keyword() && white_space_trim_property->as_keyword().keyword() == Keyword::None) {
|
||||||
auto white_space_collapse_keyword = white_space_collapse_property->as_keyword().keyword();
|
auto white_space_collapse_keyword = white_space_collapse_property->as_keyword().keyword();
|
||||||
auto text_wrap_mode_keyword = text_wrap_mode_property->as_keyword().keyword();
|
auto text_wrap_mode_keyword = text_wrap_mode_property->as_keyword().keyword();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue