add test for class: directive special characters

pull/2966/head
Richard Harris 6 years ago
parent 3895a89c3b
commit 234db33eb4

@ -0,0 +1 @@
<div class="svelte-xyz foo:bar">Hello world</div>

@ -0,0 +1,11 @@
<script>
const enabled = true;
</script>
<div class:foo:bar={enabled}>Hello world</div>
<style>
.foo\:bar {
color: red;
}
</style>
Loading…
Cancel
Save