mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-24 10:22:05 -05:00
LibWeb: Remove non-compliant whitespace stripping in CSS Parser
This commit is contained in:
parent
7e4f75c78c
commit
78d191554a
1 changed files with 0 additions and 6 deletions
|
@ -701,9 +701,6 @@ NonnullRefPtr<StyleBlockRule> Parser::consume_a_simple_block(TokenStream<T>& tok
|
|||
|
||||
tokens.reconsume_current_input_token();
|
||||
auto value = consume_a_component_value(tokens);
|
||||
if (value.is(Token::Type::Whitespace))
|
||||
continue;
|
||||
|
||||
block->m_values.append(value);
|
||||
}
|
||||
}
|
||||
|
@ -733,9 +730,6 @@ NonnullRefPtr<StyleFunctionRule> Parser::consume_a_function(TokenStream<T>& toke
|
|||
|
||||
tokens.reconsume_current_input_token();
|
||||
auto value = consume_a_component_value(tokens);
|
||||
if (value.is(Token::Type::Whitespace))
|
||||
continue;
|
||||
|
||||
function->m_values.append(value.to_string());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue