mirror of https://github.com/sveltejs/svelte
Merge pull request #906 from m59peacemaker/css-attribute-name-only-bug
Fixes #905 css attribute name only bugpull/912/head
commit
fee5754c32
@ -0,0 +1,3 @@
|
||||
export default {
|
||||
cascade: false
|
||||
};
|
@ -0,0 +1 @@
|
||||
[foo][svelte-xyz]{color:red}[baz][svelte-xyz]{color:blue}
|
@ -0,0 +1,11 @@
|
||||
<div foo='bar'></div>
|
||||
<div baz></div>
|
||||
|
||||
<style>
|
||||
[foo] {
|
||||
color: red;
|
||||
}
|
||||
[baz] {
|
||||
color: blue;
|
||||
}
|
||||
</style>
|
Loading…
Reference in new issue