mirror of https://github.com/sveltejs/svelte
fix: :global(...):some-pseudoclass should be considered global (#6317)
parent
3c889da6b7
commit
228832c9a3
@ -0,0 +1,15 @@
|
||||
[{
|
||||
"code": "css-invalid-global",
|
||||
"message": ":global(...) can be at the start or end of a selector sequence, but not in the middle",
|
||||
"start": {
|
||||
"line": 2,
|
||||
"column": 6,
|
||||
"character": 14
|
||||
},
|
||||
"end": {
|
||||
"line": 2,
|
||||
"column": 19,
|
||||
"character": 27
|
||||
},
|
||||
"pos": 14
|
||||
}]
|
@ -0,0 +1,5 @@
|
||||
<style>
|
||||
.foo :global(.bar):first-child .baz {
|
||||
color: red;
|
||||
}
|
||||
</style>
|
Loading…
Reference in new issue