mirror of https://github.com/sveltejs/svelte
fix validation for global compound selector (#8344)
parent
fbaf3cfc12
commit
d525901556
@ -0,0 +1,12 @@
|
||||
[{
|
||||
"code": "css-invalid-global-selector-position",
|
||||
"message": ":global(...) not at the start of a selector sequence should not contain type or universal selectors",
|
||||
"start": {
|
||||
"line": 2,
|
||||
"column": 5
|
||||
},
|
||||
"end": {
|
||||
"line": 2,
|
||||
"column": 21
|
||||
}
|
||||
}]
|
@ -0,0 +1,7 @@
|
||||
<style>
|
||||
.foo:global(div.bar) {
|
||||
color: red;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div class="foo" />
|
Loading…
Reference in new issue