Sam Atkins
5319e2ba8e
LibWeb: Parse forgiving selector-lists
...
`<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.
2022-03-18 11:34:02 +01:00
..
2022-03-18 11:34:02 +01:00
2022-03-12 21:51:38 +01:00
2022-03-17 17:23:49 +00:00
2022-03-17 17:23:49 +00:00
2022-03-17 17:23:49 +00:00
2022-03-17 17:23:49 +00:00
2022-03-17 17:23:49 +00:00
2022-03-17 17:23:49 +00:00
2022-03-17 17:23:49 +00:00
2022-03-17 17:23:49 +00:00
2022-03-17 17:23:49 +00:00
2022-03-17 17:23:49 +00:00
2022-03-17 17:23:49 +00:00
2022-03-17 17:23:49 +00:00
2022-03-17 17:23:49 +00:00
2022-03-17 17:23:49 +00:00
2022-03-17 17:23:49 +00:00
2022-03-17 17:23:49 +00:00
2022-03-17 17:23:49 +00:00
2022-03-17 17:23:49 +00:00
2022-03-17 17:23:49 +00:00
2022-03-17 17:23:49 +00:00
2022-03-16 22:07:53 +01:00
2022-02-24 08:04:25 +01:00
2022-02-24 08:04:25 +01:00
2022-03-16 22:07:53 +01:00
2022-02-24 08:04:25 +01:00
2022-02-24 08:04:25 +01:00
2022-03-16 22:07:53 +01:00
2022-03-17 17:23:49 +00:00
2022-03-17 17:23:49 +00:00
2022-03-16 22:07:53 +01:00
2022-03-17 17:23:49 +00:00
2022-03-17 17:23:49 +00:00
2022-03-17 17:23:49 +00:00
2022-02-24 08:04:25 +01:00
2022-03-17 17:23:49 +00:00
2022-03-16 21:30:04 +01:00
2022-03-07 13:42:25 +01:00
2022-03-07 13:42:25 +01:00
2022-02-24 08:04:25 +01:00
2022-02-24 08:04:25 +01:00
2022-03-17 17:23:49 +00:00
2022-03-17 17:23:49 +00:00
2022-03-08 00:30:30 +01:00
2022-03-08 00:30:30 +01:00
2022-03-17 17:23:49 +00:00
2022-03-17 17:23:49 +00:00
2022-03-16 23:29:17 +01:00
2022-02-25 19:35:34 +01:00
2022-03-17 17:23:49 +00:00
2022-03-17 17:23:49 +00:00
2022-03-17 17:23:49 +00:00
2022-03-17 17:23:49 +00:00
2022-03-09 19:56:08 +01:00
2022-03-09 19:56:08 +01:00
2022-03-15 19:48:19 +01:00
2022-03-15 19:48:19 +01:00
2022-03-17 17:23:49 +00:00
2022-03-17 17:23:49 +00:00
2022-02-24 08:04:25 +01:00
2022-02-24 08:04:25 +01:00