Commit graph

4 commits

Author SHA1 Message Date
Dmitry Gozman 893cfc483a chore: better error message when CSS selector fails to parse
This updates error messages to:
- always mention "css selector";
- suggest using `CSS.escape` to fix it.

Unfortunately, we cannot suggest a fixed selector by applying
`CSS.escape(brokenToken)` without updating third-party tokenizer,
because things like `.8abc` are recognized as `DimensionToken`
instead of `DelimToken` + something.
2025-01-15 10:59:51 +00:00
Pavel Feldman cffb6ac269
chore: move sever/isomorphic to utils/ to use it in client (#21445) 2023-03-06 18:49:14 -08:00
Pavel Feldman 845e32cbb8
chore: use utils via index export (6) (#13417) 2022-04-07 21:48:41 -07:00
Pavel Feldman 02cac8a066
chore: group tests under tests/ (1) (#13081) 2022-03-25 16:05:50 -07:00
Renamed from tests/css-parser.spec.ts (Browse further)