slight restructure and tests to show we allow multiple extends

This commit is contained in:
agatronic
2013-03-04 11:54:11 +00:00
parent 464e777db5
commit 1970be737b
4 changed files with 39 additions and 27 deletions

View File

@@ -18,10 +18,10 @@
.foo .bar,
.foo .baz,
.ext1 .ext2 .bar,
.ext3 .bar,
.ext4 .bar,
.ext1 .ext2 .baz,
.ext3 .bar,
.ext3 .baz,
.ext4 .bar,
.ext4 .baz {
display: none;
}

View File

@@ -18,11 +18,13 @@
.foo .bar,
.foo .baz,
.ext1 .ext2 .bar,
.ext3 .bar,
.ext4 .bar,
.ext1 .ext2 .baz,
.ext3 .bar,
.ext3 .baz,
.ext4 .baz {
.foo .ext3,
.ext4 .bar,
.ext4 .baz,
.foo .ext4 {
display: none;
}
div.ext5,

View File

@@ -24,7 +24,8 @@
.ext3,
.ext4 {
&:extend(.foo all);
&:extend(.foo all);
&:extend(.bar all);
}
div.ext5,