mirror of https://github.com/sveltejs/svelte
Merge pull request #3250 from davemo/fix/1705-root-pseudo-selector-prefix-exemption
bugfix: exempt the :root psuedo-selector from the random css prefixpull/3219/head
commit
8c1f48f828
@ -1 +1 @@
|
|||||||
div.svelte-xyz{--test:10}
|
:root{--root-test:20}div.svelte-xyz{--test:10}
|
@ -1,7 +1,10 @@
|
|||||||
<div></div>
|
<div></div>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
:root {
|
||||||
|
--root-test: 20;
|
||||||
|
}
|
||||||
div {
|
div {
|
||||||
--test: 10;
|
--test: 10;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
Loading…
Reference in new issue