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:
Sam Atkins 2025-10-30 14:53:56 +00:00
parent 01417d1e53
commit 1b1bb3b897
Notes: github-actions[bot] 2025-11-03 11:25:20 +00:00
2 changed files with 0 additions and 31 deletions

View file

@ -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())