imccyu
2754e9fe8c
ci(css): reject costly unkeyed CSS selectors and retire existing ones
...
Add verify-css-selectors to the hygiene gates. It rejects a subject
compound without a class, id, attribute or type key that matches through
:not(), :empty or :has(); a universal selector that names no class, id
or attribute anywhere; and :has() outside the subject compound. Chromium
evaluates such rules on every restyled element or invalidates whole
subtrees. Class-scoped forms such as '.card *' and '.list > :first-child'
are accepted, and the listed base stylesheets are exempt from the subject
rules.
Existing occurrences are recorded in scripts/css-selectors.baseline.json;
new ones fail and retired ones must be pruned. Rewrite existing selectors
where the matched elements stay the same, and document the rule in the
Web styling reference.
2026-11-20 01:59:10 +08:00
..
2026-11-03 20:39:03 +08:00
2026-11-19 21:11:38 +08:00
2026-11-05 20:34:44 +08:00
2026-10-21 15:56:44 +08:00
2026-11-19 16:55:26 +08:00
2026-11-20 01:59:10 +08:00
2026-10-19 22:23:13 +08:00
2026-11-19 21:11:38 +08:00
2026-09-23 22:32:06 +08:00
2026-11-20 00:11:27 +08:00
2026-11-19 21:11:38 +08:00
2026-11-19 18:02:58 +08:00
2026-09-23 22:32:06 +08:00
2026-10-21 15:02:29 +08:00
2026-10-21 15:02:29 +08:00
2026-11-19 16:55:26 +08:00
2026-10-23 16:13:38 +08:00
2026-10-23 16:13:38 +08:00
2026-10-23 16:13:38 +08:00
2026-11-19 21:11:38 +08:00
2026-11-19 21:11:38 +08:00
2026-11-19 21:11:38 +08:00
2026-11-19 21:27:14 +08:00
2026-11-19 21:27:14 +08:00
2026-11-19 21:27:14 +08:00
2026-10-05 17:45:17 +08:00
2026-11-10 12:00:17 +08:00
2026-11-10 12:00:17 +08:00
2026-09-24 23:08:20 +08:00
2026-11-19 23:02:35 +08:00
2026-11-19 23:02:35 +08:00
2026-09-23 22:32:06 +08:00
2026-11-11 09:51:11 +08:00
2026-11-11 09:51:11 +08:00
2026-11-11 09:51:11 +08:00
2026-09-21 08:24:18 +00:00
2026-11-19 21:24:42 +08:00
2026-11-19 21:24:42 +08:00
2026-11-19 21:24:42 +08:00
2026-10-20 21:09:09 +08:00
2026-11-20 00:11:27 +08:00
2026-11-20 00:11:27 +08:00
2026-11-16 02:25:41 -08:00
2026-11-16 02:25:41 -08:00
2026-11-16 02:25:41 -08:00
2026-10-12 10:35:05 +08:00
2026-10-12 10:35:05 +08:00
2026-10-12 10:35:05 +08:00
2026-09-23 22:32:06 +08:00
2026-09-23 22:32:06 +08:00
2026-11-19 23:02:35 +08:00
2026-11-19 23:02:35 +08:00
2026-11-20 00:11:27 +08:00
2026-11-20 00:11:27 +08:00
2026-11-20 00:11:27 +08:00
2026-11-20 00:11:27 +08:00
2026-11-05 20:34:44 +08:00
2026-11-05 20:34:44 +08:00
2026-11-05 20:34:44 +08:00
2026-10-08 20:26:57 +08:00
2026-10-08 20:26:57 +08:00
2026-10-08 20:26:57 +08:00
2026-11-03 13:04:26 +08:00
2026-11-03 13:04:26 +08:00
2026-11-03 13:04:26 +08:00
2026-11-19 17:41:56 +08:00
2026-11-19 17:41:56 +08:00
2026-11-19 17:41:56 +08:00
2026-10-19 14:50:00 +08:00
2026-10-19 14:50:00 +08:00
2026-10-19 14:50:00 +08:00
2026-11-03 20:39:03 +08:00
2026-11-03 20:39:03 +08:00
2026-11-03 20:39:03 +08:00
2026-11-05 21:32:19 +08:00
2026-11-05 21:32:19 +08:00
2026-11-05 21:32:19 +08:00
2026-11-20 01:59:10 +08:00
2026-11-20 01:59:10 +08:00
2026-11-20 01:59:10 +08:00