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 5aa88fe commit 65de7f4Copy full SHA for 65de7f4
packages/compiler-sfc/__tests__/compileStyle.spec.ts
@@ -40,29 +40,21 @@ describe('SFC scoped CSS', () => {
40
`h1 .foo[data-v-test] { color: red;`,
41
)
42
43
- // https://github.com/vuejs/core/issues/13387
+ // #13387
44
expect(
45
compileScoped(`main {
46
- display: flex;
47
- flex-direction: column;
48
- background: yellowgreen;
49
width: 100%;
50
> * {
51
max-width: 200px;
52
- background-color: yellow;
53
}
54
}`),
55
).toMatchInlineSnapshot(`
56
"main {
57
&[data-v-test] {
58
59
60
61
62
63
> *[data-v-test] {
64
65
66
67
}"`)
68
})
0 commit comments