Fixed that in some situations a mixin call into a referenced file wouldn't import media queries. Fixes #1469

This commit is contained in:
Luke Page
2014-02-21 11:03:38 +00:00
parent 6d5473e988
commit bf9c59025b
4 changed files with 39 additions and 8 deletions

View File

@@ -1,7 +1,17 @@
/*
The media statement above is invalid (no selector)
We should ban invalid media queries with properties and no selector?
*/
input[type="text"].class#id[attr=32]:not(1) {
color: white;
}
div#id.class[a=1][b=2].class:not(1) {
color: white;
}
@media print {
.class {
color: blue;
}
.class .sub {
width: 42;
}
}
.visible {
color: red;
}
@@ -47,3 +57,12 @@
.visible {
extend: test;
}
.test-mediaq-import {
color: green;
test: 340px;
}
@media (max-size: 450px) {
.test-mediaq-import {
color: red;
}
}