mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-05 02:33:03 +00:00
LibWeb: Don't allow trailing commas in selector lists
comma-separated list != #-multiplier
This commit is contained in:
parent
8965698ce7
commit
bb5678a175
Notes:
github-actions[bot]
2024-11-23 08:51:44 +00:00
Author: https://github.com/Gingeh
Commit: bb5678a175
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2478
Reviewed-by: https://github.com/AtkinsSJ
8 changed files with 3515 additions and 6 deletions
|
@ -768,6 +768,8 @@ Vector<ComponentValue> Parser::consume_a_list_of_component_values(TokenStream<T>
|
|||
}
|
||||
}
|
||||
}
|
||||
template Vector<ComponentValue> Parser::consume_a_list_of_component_values(TokenStream<ComponentValue>& input, Optional<Token::Type> stop_token, Nested nested);
|
||||
template Vector<ComponentValue> Parser::consume_a_list_of_component_values(TokenStream<Token>& input, Optional<Token::Type> stop_token, Nested nested);
|
||||
|
||||
// https://drafts.csswg.org/css-syntax/#consume-simple-block
|
||||
template<typename T>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue