Sam Atkins
698dd600f2
LibWeb/CSS: Keep invalid parts of <forgiving-selector-list>s around
...
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-13 20:38:12 +01:00
..
2024-10-03 07:07:28 -04:00
2024-10-03 07:07:28 -04:00
2024-10-16 08:34:31 +02:00
2024-08-19 09:03:22 +02:00
2024-03-03 19:50:25 +01:00
2024-10-31 10:30:24 +00:00
2024-10-16 16:39:47 +02:00
2024-10-03 07:07:28 -04:00
2024-04-29 08:10:38 +02:00
2024-10-03 07:07:28 -04:00
2024-10-03 07:07:28 -04:00
2024-06-14 20:45:37 +02:00
2024-10-23 06:55:37 +01:00
2024-10-23 06:55:37 +01:00
2024-10-30 17:30:58 +01:00
2024-08-05 09:55:50 +02:00
2024-10-03 07:07:28 -04:00
2024-02-24 21:59:28 +01:00
2024-04-29 08:10:38 +02:00
2024-02-24 21:59:28 +01:00
2024-02-24 21:59:28 +01:00
2024-11-03 17:35:20 +01:00
2024-10-03 07:07:28 -04:00
2024-10-03 07:07:28 -04:00
2024-05-28 09:51:07 +02:00
2024-10-02 16:28:55 +01:00
2024-05-14 12:31:10 -06:00
2024-05-16 08:02:43 +02:00
2024-05-11 07:30:29 +01:00
2024-10-24 17:50:19 +02:00
2024-05-23 10:57:34 +02:00
2024-10-03 07:07:28 -04:00
2024-11-09 19:21:00 +01:00
2024-10-03 07:07:28 -04:00
2024-10-03 07:07:28 -04:00
2024-10-30 20:58:16 +01:00
2024-10-12 19:20:22 +02:00
2024-06-14 20:45:37 +02:00
2024-10-03 07:07:28 -04:00
2024-10-03 07:07:28 -04:00
2024-05-01 07:21:21 +02:00
2024-04-25 09:31:01 +02:00
2024-10-14 08:08:37 +02:00
2024-10-03 07:07:28 -04:00
2024-08-04 11:49:44 +02:00
2024-10-03 07:07:28 -04:00
2024-10-03 07:07:28 -04:00
2024-10-03 07:07:28 -04:00
2024-11-13 20:38:12 +01:00
2024-09-22 09:45:59 +02:00
2024-08-22 13:49:41 +02:00
2024-06-14 20:45:37 +02:00
2024-10-03 07:07:28 -04:00
2024-11-07 15:11:24 +01:00
2024-10-03 07:07:28 -04:00
2024-07-04 14:41:35 +02:00
2024-10-03 07:07:28 -04:00
2024-10-15 08:43:26 -04:00
2024-10-07 14:57:15 +01:00
2024-11-05 14:01:45 +00:00
2024-10-03 07:07:28 -04:00
2024-10-03 07:07:28 -04:00