mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-08 06:09:58 +00:00
LibWeb/CSS: Remove "strip-whitespace" flag from Properties.json
Now that it's not on any properties, remove support for it entirely.
This commit is contained in:
parent
01417d1e53
commit
1b1bb3b897
Notes:
github-actions[bot]
2025-11-03 11:25:20 +00:00
Author: https://github.com/AtkinsSJ
Commit: 1b1bb3b897
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6646
Reviewed-by: https://github.com/tcl3
2 changed files with 0 additions and 31 deletions
|
|
@ -474,10 +474,6 @@ Parser::ParseErrorOr<NonnullRefPtr<StyleValue const>> Parser::parse_css_value(Pr
|
|||
return ParseError::SyntaxError;
|
||||
}
|
||||
|
||||
// FIXME: Stop removing whitespace here. It's less helpful than it seems.
|
||||
if (property_requires_whitespace_stripped_before_parsing(property_id) && token.is(Token::Type::Whitespace))
|
||||
continue;
|
||||
|
||||
if (token.is_function())
|
||||
token.function().contains_arbitrary_substitution_function(substitution_presence);
|
||||
else if (token.is_block())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue