mirror of
https://github.com/sveltejs/svelte.git
synced 2024-12-01 17:30:59 +01:00
add test for class: directive special characters
This commit is contained in:
parent
3895a89c3b
commit
234db33eb4
@ -0,0 +1 @@
|
||||
.foo\:bar.svelte-xyz{color:red}
|
@ -0,0 +1 @@
|
||||
<div class="svelte-xyz foo:bar">Hello world</div>
|
11
test/css/samples/directive-special-character/input.svelte
Normal file
11
test/css/samples/directive-special-character/input.svelte
Normal file
@ -0,0 +1,11 @@
|
||||
<script>
|
||||
const enabled = true;
|
||||
</script>
|
||||
|
||||
<div class:foo:bar={enabled}>Hello world</div>
|
||||
|
||||
<style>
|
||||
.foo\:bar {
|
||||
color: red;
|
||||
}
|
||||
</style>
|
Loading…
Reference in New Issue
Block a user