lib/less/js/test/less/import.less in less-2.3.3 vs lib/less/js/test/less/import.less in less-2.4.0
- old
+ new
@@ -1,12 +1,21 @@
@import url(http://fonts.googleapis.com/css?family=Open+Sans);
-@import url(something.css) screen and (color) and (max-width: 600px);
+@import url(/absolute/something.css) screen and (color) and (max-width: 600px);
+@var: 100px;
+@import url("//ha.com/file.css") (min-width:@var);
+
#import-test {
.mixin;
width: 10px;
- height: @a + 10%;
+ height: (@a + 10%);
}
@import "import/import-test-e" screen and (max-width: 600px);
@import url("import/import-test-a.less");
+
+@import (less, multiple) "import/import-test-d.css" screen and (max-width: 601px);
+
+@import (multiple) "import/import-test-e" screen and (max-width: 602px);
+
+@import (less, multiple) url("import/import-test-d.css") screen and (max-width: 603px);
\ No newline at end of file