Sam Atkins
5a1eb9e220
LibWeb/CSS: Keep invalid parts of <forgiving-selector-list>s around
...
Attempt 2! Reverts 2a5dbedad4
This time, set up a different combinator when producing a relative
invalid selector rather than a standalone one. This fixes the crash.
Original description below for simplicity because it still applies.
---
Selectors like `:is(.valid, &!?!?!invalid)` need to keep the invalid
part around, even though it will never match, for a couple of reasons:
- Serialization needs to include them
- For nesting, we care if a `&` appeared anywhere in the selector, even
in an invalid part.
So this patch introduces an `Invalid` simple selector type, which simply
holds its original ComponentValues. We search through these looking for
`&`, and we dump them out directly when asked to serialize.
2024-11-14 13:20:01 +01:00
..
2024-11-14 13:20:01 +01:00
2024-11-14 09:26:28 +00:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-13 16:51:44 -05:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-11 14:56:46 -07:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-13 16:51:44 -05:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-13 16:51:44 -05:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-13 16:51:44 -05:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-13 16:51:44 -05:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-13 16:51:44 -05:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-13 16:51:44 -05:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-13 16:51:44 -05:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-13 16:51:44 -05:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-13 16:51:44 -05:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-13 16:51:44 -05:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-13 16:51:44 -05:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-13 16:51:44 -05:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-13 16:51:44 -05:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-13 16:51:44 -05:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-13 16:51:44 -05:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-13 16:51:44 -05:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-13 16:51:44 -05:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-13 16:51:44 -05:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-13 16:51:44 -05:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-13 16:51:44 -05:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-13 16:51:44 -05:00
2024-11-13 14:59:14 +01:00
2024-11-10 12:50:45 +01:00
2024-11-13 16:51:44 -05:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-13 16:51:44 -05:00
2024-11-10 12:50:45 +01:00
2024-11-13 16:51:44 -05:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-13 16:51:44 -05:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-14 13:20:01 +01:00
2024-11-14 13:20:01 +01:00
2024-11-14 13:20:01 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-11 17:06:20 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-13 16:51:44 -05:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00
2024-11-13 16:51:44 -05:00
2024-11-10 12:50:45 +01:00
2024-11-10 12:50:45 +01:00