Merge branch 'less.js/1.5.0-wip'

Conflicts:
	.jshintrc
	Makefile
	package.json
This commit is contained in:
Jon Schlinkert
2013-08-01 06:51:59 -04:00
parent aa7e3cc015
commit 38a8664013
68 changed files with 1285 additions and 679 deletions

View File

@@ -28,4 +28,37 @@
@b: 2;
@c: 3;
@d: 3;
@d: 3;
.inheritance when (@b = 2) {
.test {
color: black;
}
&:hover {
color: pink;
}
.hideme when (@b = 1) {
color: green;
}
& when (@b = 1) {
hideme: green;
}
}
.hideme when (@b = 1) {
.test {
color: black;
}
&:hover {
color: pink;
}
.hideme when (@b = 1) {
color: green;
}
}
& when (@b = 1) {
.hideme {
color: red;
}
}

View File

@@ -1,4 +1,4 @@
ArgumentError: error evaluating function `svg-gradient`: svg-gradient direction must be 'to bottom', 'to right', 'to bottom right', 'to top right' or 'radial' in {path}svg-gradient1.less on line 2, column 6:
ArgumentError: error evaluating function `svg-gradient`: svg-gradient direction must be 'to bottom', 'to right', 'to bottom right', 'to top right' or 'ellipse at center' in {path}svg-gradient1.less on line 2, column 6:
1 .a {
2 a: svg-gradient(horizontal, black, white);
3 }

View File

@@ -1 +1 @@
this isn't very valid CSS.
this isn't very valid CSS.

View File

@@ -0,0 +1,26 @@
@var: black;
.a() {
color: red;
}
.b {
color: green;
.a();
color: blue;
background: @var;
}
.a, .b {
background: green;
.c, .d {
background: gray;
& + & {
color: red;
}
}
}
.extend:extend(.a all) {
color: pink;
}