8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 933a032 commit a04a40dCopy full SHA for a04a40d
src/__fixtures__/tests.ts
@@ -458,6 +458,27 @@ export const tests: [
458
],
459
"pseudo selector with data",
460
461
+ [
462
+ ":where(a)",
463
464
465
+ {
466
+ type: "pseudo",
467
+ name: "where",
468
+ data: [
469
470
471
+ type: "tag",
472
+ namespace: null,
473
+ name: "a",
474
+ },
475
+ ],
476
477
478
479
480
+ "pseudo selector with data",
481
482
[
483
':contains("(a((foo\\\\\\))))")',
484
src/parse.ts
@@ -109,6 +109,7 @@ const unpackPseudos = new Set([
109
"not",
110
"matches",
111
"is",
112
+ "where",
113
"host",
114
"host-context",
115
]);
0 commit comments