mirror of
https://github.com/RGBCube/serenity
synced 2025-10-30 06:42:35 +00:00
`<forgiving-selector-list>` and `<forgiving-relative-selector-list>` are
the same as regular selector-lists, except that an invalid selector
does not make the whole list invalid. The former is used by the `:is()`
pseudo-class.
For example:
```css
/* This entire selector-list is invalid */
.foo, .bar, !?invalid { }
/* This is valid, but the "!?invalid" selector is removed */
:is(.foo, .bar, !?invalid) { }
```
Also as part of this, I've removed the `parse_a_selector(TokenStream)`
and `parse_a_relative_selector(TokenStream)` methods as they don't add
anything useful.
|
||
|---|---|---|
| .. | ||
| DeclarationOrAtRule.h | ||
| Parser.cpp | ||
| Parser.h | ||
| StyleBlockRule.h | ||
| StyleComponentValueRule.h | ||
| StyleDeclarationRule.h | ||
| StyleFunctionRule.h | ||
| StyleRule.h | ||
| StyleRules.cpp | ||
| Token.cpp | ||
| Token.h | ||
| Tokenizer.cpp | ||
| Tokenizer.h | ||