|
|
@@ -249,6 +249,24 @@ color: red
|
|
|
"#app :is(.foo[data-v-test]) { color: red;
|
|
|
}"
|
|
|
`)
|
|
|
+
|
|
|
+ expect(compileScoped(`#app :is(:is(.foo)) { color: red; }`))
|
|
|
+ .toMatchInlineSnapshot(`
|
|
|
+ "#app :is(:is(.foo[data-v-test])) { color: red;
|
|
|
+ }"
|
|
|
+ `)
|
|
|
+
|
|
|
+ expect(compileScoped(`#app :where(.foo) { color: red; }`))
|
|
|
+ .toMatchInlineSnapshot(`
|
|
|
+ "#app :where(.foo[data-v-test]) { color: red;
|
|
|
+ }"
|
|
|
+ `)
|
|
|
+
|
|
|
+ expect(compileScoped(`#app :where(:where(.foo)) { color: red; }`))
|
|
|
+ .toMatchInlineSnapshot(`
|
|
|
+ "#app :where(:where(.foo[data-v-test])) { color: red;
|
|
|
+ }"
|
|
|
+ `)
|
|
|
})
|
|
|
|
|
|
test('media query', () => {
|