mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +00:00
LibWeb/CSS: Tag forgiving selector lists while parsing
This commit is contained in:
parent
7f803c5c3d
commit
3a43fa9e35
Notes:
github-actions[bot]
2024-11-14 19:08:30 +00:00
Author: https://github.com/AtkinsSJ
Commit: 3a43fa9e35
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2340
2 changed files with 3 additions and 0 deletions
|
@ -608,6 +608,7 @@ Parser::ParseErrorOr<Selector::SimpleSelector> Parser::parse_pseudo_simple_selec
|
|||
.type = Selector::SimpleSelector::Type::PseudoClass,
|
||||
.value = Selector::SimpleSelector::PseudoClassSelector {
|
||||
.type = pseudo_class,
|
||||
.is_forgiving = true,
|
||||
.argument_selector_list = move(argument_selector_list) }
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue