mirror of https://github.com/sveltejs/svelte
fix '~=' and class selectors with arbitrary whitespace (#4286)
parent
2f81365e44
commit
e4460e38ba
@ -0,0 +1 @@
|
|||||||
|
.foo.svelte-xyz{color:red}[class~="bar"].svelte-xyz{background:blue}
|
@ -0,0 +1,13 @@
|
|||||||
|
<div class="
|
||||||
|
foo
|
||||||
|
bar
|
||||||
|
"></div>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
.foo {
|
||||||
|
color: red;
|
||||||
|
}
|
||||||
|
[class~="bar"] {
|
||||||
|
background: blue;
|
||||||
|
}
|
||||||
|
</style>
|
Loading…
Reference in new issue