mirror of https://github.com/sveltejs/svelte
Merge pull request #3335 from Conduitry/gh-3281
use bindings when matching attribute selector against elementpull/3342/head
commit
aa1b38ad34
@ -0,0 +1 @@
|
||||
details[open].svelte-xyz{color:red}
|
@ -0,0 +1,11 @@
|
||||
<script>
|
||||
let open = false;
|
||||
</script>
|
||||
|
||||
<details bind:open>Hello</details>
|
||||
|
||||
<style>
|
||||
details[open] {
|
||||
color: red;
|
||||
}
|
||||
</style>
|
Loading…
Reference in new issue