mirror of https://github.com/sveltejs/svelte
don't scope :root selector (#6514)
parent
68a1b4977c
commit
c54d57b0d9
@ -0,0 +1 @@
|
||||
export default {};
|
@ -0,0 +1 @@
|
||||
:root{color:red}.foo:root{color:blue}:root.foo{color:green}
|
@ -0,0 +1 @@
|
||||
<h1>Hello!</h1>
|
@ -0,0 +1,13 @@
|
||||
<style>
|
||||
:root {
|
||||
color: red;
|
||||
}
|
||||
.foo:root {
|
||||
color: blue;
|
||||
}
|
||||
:root.foo {
|
||||
color: green;
|
||||
}
|
||||
</style>
|
||||
|
||||
<h1>Hello!</h1>
|
Loading…
Reference in new issue