Skip to content

Commit

Permalink
test attribute only selector when html is also attribute only
Browse files Browse the repository at this point in the history
  • Loading branch information
m59peacemaker committed Oct 25, 2017
1 parent 8edfd64 commit 97d8125
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion test/css/samples/attribute-selector-only-name/expected.css
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[foo][svelte-xyz]{color:red}
[foo][svelte-xyz]{color:red}[baz][svelte-xyz]{color:blue}
4 changes: 4 additions & 0 deletions test/css/samples/attribute-selector-only-name/input.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
<div foo='bar'></div>
<div baz></div>

<style>
[foo] {
color: red;
}
[baz] {
color: blue;
}
</style>

0 comments on commit 97d8125

Please sign in to comment.