less 2.3.0 → 2.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (172) hide show
  1. checksums.yaml +4 -4
  2. data/lib/less/js/.gitignore +7 -0
  3. data/lib/less/js/.npmignore +1 -0
  4. data/lib/less/js/CHANGELOG.md +118 -0
  5. data/lib/less/js/CONTRIBUTING.md +50 -0
  6. data/lib/less/js/Makefile +14 -2
  7. data/lib/less/js/bin/lessc +72 -21
  8. data/lib/less/js/dist/less-1.3.1.js +4011 -0
  9. data/lib/less/js/dist/less-1.3.1.min.js +9 -0
  10. data/lib/less/js/dist/less-1.3.2.js +4401 -0
  11. data/lib/less/js/dist/less-1.3.2.min.js +9 -0
  12. data/lib/less/js/dist/less-1.3.3.js +4413 -0
  13. data/lib/less/js/dist/less-1.3.3.min.js +9 -0
  14. data/lib/less/js/dist/less-rhino-1.3.1.js +3725 -0
  15. data/lib/less/js/dist/less-rhino-1.3.2.js +3990 -0
  16. data/lib/less/js/dist/less-rhino-1.3.3.js +4002 -0
  17. data/lib/less/js/lib/less/browser.js +192 -53
  18. data/lib/less/js/lib/less/colors.js +1 -0
  19. data/lib/less/js/lib/less/functions.js +159 -10
  20. data/lib/less/js/lib/less/index.js +124 -56
  21. data/lib/less/js/lib/less/lessc_helper.js +62 -0
  22. data/lib/less/js/lib/less/parser.js +352 -135
  23. data/lib/less/js/lib/less/rhino.js +84 -23
  24. data/lib/less/js/lib/less/tree.js +28 -0
  25. data/lib/less/js/lib/less/tree/anonymous.js +15 -1
  26. data/lib/less/js/lib/less/tree/assignment.js +3 -1
  27. data/lib/less/js/lib/less/tree/call.js +12 -6
  28. data/lib/less/js/lib/less/tree/color.js +10 -0
  29. data/lib/less/js/lib/less/tree/dimension.js +3 -1
  30. data/lib/less/js/lib/less/tree/directive.js +9 -5
  31. data/lib/less/js/lib/less/tree/element.js +8 -6
  32. data/lib/less/js/lib/less/tree/import.js +16 -13
  33. data/lib/less/js/lib/less/tree/media.js +16 -9
  34. data/lib/less/js/lib/less/tree/mixin.js +123 -46
  35. data/lib/less/js/lib/less/tree/operation.js +5 -0
  36. data/lib/less/js/lib/less/tree/quoted.js +15 -1
  37. data/lib/less/js/lib/less/tree/ratio.js +13 -0
  38. data/lib/less/js/lib/less/tree/rule.js +7 -0
  39. data/lib/less/js/lib/less/tree/ruleset.js +232 -34
  40. data/lib/less/js/lib/less/tree/selector.js +21 -11
  41. data/lib/less/js/lib/less/tree/unicode-descriptor.js +13 -0
  42. data/lib/less/js/lib/less/tree/url.js +16 -14
  43. data/lib/less/js/lib/less/tree/variable.js +13 -1
  44. data/lib/less/js/package.json +13 -3
  45. data/lib/less/js/test/browser-test-prepare.js +29 -0
  46. data/lib/less/js/test/browser/common.js +74 -0
  47. data/lib/less/js/test/browser/css/relative-urls/urls.css +36 -0
  48. data/lib/less/js/test/browser/css/rootpath-relative/urls.css +36 -0
  49. data/lib/less/js/test/browser/css/rootpath/urls.css +36 -0
  50. data/lib/less/js/test/browser/css/urls.css +36 -0
  51. data/lib/less/js/test/browser/jasmine-html.js +681 -0
  52. data/lib/less/js/test/browser/jasmine.css +82 -0
  53. data/lib/less/js/test/browser/jasmine.js +2600 -0
  54. data/lib/less/js/test/browser/less/imports/urls.less +4 -0
  55. data/lib/less/js/test/browser/less/imports/urls2.less +4 -0
  56. data/lib/less/js/test/browser/less/relative-urls/urls.less +33 -0
  57. data/lib/less/js/test/browser/less/rootpath-relative/urls.less +33 -0
  58. data/lib/less/js/test/browser/less/rootpath/urls.less +33 -0
  59. data/lib/less/js/test/browser/less/urls.less +33 -0
  60. data/lib/less/js/test/browser/phantom-runner.js +139 -0
  61. data/lib/less/js/test/browser/runner-browser.js +3 -0
  62. data/lib/less/js/test/browser/runner-main.js +15 -0
  63. data/lib/less/js/test/browser/runner-relative-urls.js +4 -0
  64. data/lib/less/js/test/browser/runner-rootpath-relative.js +5 -0
  65. data/lib/less/js/test/browser/runner-rootpath.js +4 -0
  66. data/lib/less/js/test/browser/template.htm +10 -0
  67. data/lib/less/js/test/css/charsets.css +1 -0
  68. data/lib/less/js/test/css/colors.css +22 -0
  69. data/lib/less/js/test/css/comments.css +7 -0
  70. data/lib/less/js/test/css/css-3.css +57 -2
  71. data/lib/less/js/test/css/css-escapes.css +4 -0
  72. data/lib/less/js/test/css/css.css +11 -11
  73. data/lib/less/js/test/css/debug/linenumbers-all.css +43 -0
  74. data/lib/less/js/test/css/debug/linenumbers-comments.css +35 -0
  75. data/lib/less/js/test/css/debug/linenumbers-mediaquery.css +35 -0
  76. data/lib/less/js/test/css/functions.css +59 -2
  77. data/lib/less/js/test/css/ie-filters.css +7 -3
  78. data/lib/less/js/test/css/import-once.css +3 -0
  79. data/lib/less/js/test/css/import.css +7 -9
  80. data/lib/less/js/test/css/javascript.css +3 -2
  81. data/lib/less/js/test/css/media.css +116 -0
  82. data/lib/less/js/test/css/mixins-args.css +23 -4
  83. data/lib/less/js/test/css/mixins-guards.css +13 -0
  84. data/lib/less/js/test/css/mixins-important.css +21 -0
  85. data/lib/less/js/test/css/mixins-named-args.css +27 -0
  86. data/lib/less/js/test/css/mixins.css +50 -0
  87. data/lib/less/js/test/css/scope.css +20 -0
  88. data/lib/less/js/test/css/selectors.css +64 -0
  89. data/lib/less/js/test/css/static-urls/urls.css +42 -0
  90. data/lib/less/js/test/css/strings.css +2 -2
  91. data/lib/less/js/test/css/urls.css +42 -0
  92. data/lib/less/js/test/css/variables.css +0 -1
  93. data/lib/less/js/test/css/whitespace.css +4 -0
  94. data/lib/less/js/test/less-test.js +145 -36
  95. data/lib/less/js/test/less/charsets.less +3 -0
  96. data/lib/less/js/test/less/colors.less +27 -0
  97. data/lib/less/js/test/less/comments.less +12 -0
  98. data/lib/less/js/test/less/css-3.less +54 -6
  99. data/lib/less/js/test/less/css-escapes.less +6 -1
  100. data/lib/less/js/test/less/css.less +14 -12
  101. data/lib/less/js/test/less/debug/import/test.less +25 -0
  102. data/lib/less/js/test/less/debug/linenumbers.less +23 -0
  103. data/lib/less/js/test/less/errors/bad-variable-declaration1.less +1 -0
  104. data/lib/less/js/test/less/errors/bad-variable-declaration1.txt +2 -0
  105. data/lib/less/js/test/less/errors/comment-in-selector.less +1 -0
  106. data/lib/less/js/test/less/errors/comment-in-selector.txt +2 -0
  107. data/lib/less/js/test/less/errors/import-missing.less +1 -0
  108. data/lib/less/js/test/less/errors/import-missing.txt +3 -0
  109. data/lib/less/js/test/less/errors/import-no-semi.less +1 -0
  110. data/lib/less/js/test/less/errors/import-no-semi.txt +2 -0
  111. data/lib/less/js/test/less/errors/import-subfolder1.less +1 -0
  112. data/lib/less/js/test/less/errors/import-subfolder1.txt +3 -0
  113. data/lib/less/js/test/less/errors/import-subfolder2.less +1 -0
  114. data/lib/less/js/test/less/errors/import-subfolder2.txt +2 -0
  115. data/lib/less/js/test/less/errors/imports/import-subfolder1.less +1 -0
  116. data/lib/less/js/test/less/errors/imports/import-subfolder2.less +1 -0
  117. data/lib/less/js/test/less/errors/imports/import-test.less +4 -0
  118. data/lib/less/js/test/less/errors/imports/subfolder/mixin-not-defined.less +1 -0
  119. data/lib/less/js/test/less/errors/imports/subfolder/parse-error-curly-bracket.less +1 -0
  120. data/lib/less/js/test/less/errors/javascript-error.less +3 -0
  121. data/lib/less/js/test/less/errors/javascript-error.txt +4 -0
  122. data/lib/less/js/test/less/errors/mixed-mixin-definition-args-1.less +6 -0
  123. data/lib/less/js/test/less/errors/mixed-mixin-definition-args-1.txt +4 -0
  124. data/lib/less/js/test/less/errors/mixed-mixin-definition-args-2.less +6 -0
  125. data/lib/less/js/test/less/errors/mixed-mixin-definition-args-2.txt +4 -0
  126. data/lib/less/js/test/less/errors/mixin-not-defined.less +11 -0
  127. data/lib/less/js/test/less/errors/mixin-not-defined.txt +3 -0
  128. data/lib/less/js/test/less/errors/mixin-not-matched.less +6 -0
  129. data/lib/less/js/test/less/errors/mixin-not-matched.txt +3 -0
  130. data/lib/less/js/test/less/errors/mixin-not-matched2.less +6 -0
  131. data/lib/less/js/test/less/errors/mixin-not-matched2.txt +3 -0
  132. data/lib/less/js/test/less/errors/parse-error-curly-bracket.less +1 -0
  133. data/lib/less/js/test/less/errors/parse-error-curly-bracket.txt +2 -0
  134. data/lib/less/js/test/less/errors/parse-error-missing-bracket.less +2 -0
  135. data/lib/less/js/test/less/errors/parse-error-missing-bracket.txt +2 -0
  136. data/lib/less/js/test/less/errors/parse-error-with-import.less +13 -0
  137. data/lib/less/js/test/less/errors/parse-error-with-import.txt +4 -0
  138. data/lib/less/js/test/less/errors/property-ie5-hack.less +3 -0
  139. data/lib/less/js/test/less/errors/property-ie5-hack.txt +4 -0
  140. data/lib/less/js/test/less/errors/recursive-variable.less +1 -0
  141. data/lib/less/js/test/less/errors/recursive-variable.txt +2 -0
  142. data/lib/less/js/test/less/functions.less +64 -2
  143. data/lib/less/js/test/less/ie-filters.less +7 -0
  144. data/lib/less/js/test/less/import-once.less +4 -0
  145. data/lib/less/js/test/less/import.less +2 -1
  146. data/lib/less/js/test/less/import/deeper/import-once-test-a.less +1 -0
  147. data/lib/less/js/test/less/import/import-and-relative-paths-test.less +6 -0
  148. data/lib/less/js/test/less/import/import-charset-test.less +1 -0
  149. data/lib/less/js/test/less/import/import-once-test-c.less +6 -0
  150. data/lib/less/js/test/less/import/import-test-a.less +1 -0
  151. data/lib/less/js/test/less/import/import-test-c.less +0 -1
  152. data/lib/less/js/test/less/import/imports/font.less +8 -0
  153. data/lib/less/js/test/less/import/imports/logo.less +5 -0
  154. data/lib/less/js/test/less/import/urls.less +1 -0
  155. data/lib/less/js/test/less/javascript.less +4 -2
  156. data/lib/less/js/test/less/media.less +120 -0
  157. data/lib/less/js/test/less/mixins-args.less +40 -10
  158. data/lib/less/js/test/less/mixins-guards.less +30 -0
  159. data/lib/less/js/test/less/mixins-important.less +4 -0
  160. data/lib/less/js/test/less/mixins-named-args.less +36 -0
  161. data/lib/less/js/test/less/mixins.less +47 -0
  162. data/lib/less/js/test/less/scope.less +48 -1
  163. data/lib/less/js/test/less/selectors.less +81 -0
  164. data/lib/less/js/test/less/static-urls/urls.less +33 -0
  165. data/lib/less/js/test/less/strings.less +1 -1
  166. data/lib/less/js/test/less/urls.less +33 -0
  167. data/lib/less/js/test/less/variables.less +0 -1
  168. data/lib/less/js/test/less/whitespace.less +7 -0
  169. data/lib/less/version.rb +1 -1
  170. metadata +101 -4
  171. data/lib/less/js/CHANGELOG +0 -41
  172. data/lib/less/js/lib/less/cssmin.js +0 -355
@@ -0,0 +1,3 @@
1
+ @charset "UTF-8";
2
+
3
+ @import "import/import-charset-test";
@@ -43,6 +43,10 @@
43
43
  color: rgb(200, 200, 200);
44
44
  }
45
45
 
46
+ #333333 {
47
+ color: rgb(20%, 20%, 20%);
48
+ }
49
+
46
50
  #808080 {
47
51
  color: hsl(50, 0%, 50%);
48
52
  }
@@ -63,3 +67,26 @@
63
67
  color: blue2;
64
68
  border: 2px solid superred;
65
69
  }
70
+
71
+ .transparent {
72
+ color: transparent;
73
+ background-color: rgba(0, 0, 0, 0);
74
+ }
75
+ #alpha {
76
+ @colorvar: rgba(150, 200, 150, 0.7);
77
+ #fromvar {
78
+ opacity: alpha(@colorvar);
79
+ }
80
+ #short {
81
+ opacity: alpha(#aaa);
82
+ }
83
+ #long {
84
+ opacity: alpha(#bababa);
85
+ }
86
+ #rgba {
87
+ opacity: alpha(rgba(50, 120, 95, 0.2));
88
+ }
89
+ #hsl {
90
+ opacity: alpha(hsl(120, 100%, 50%));
91
+ }
92
+ }
@@ -61,5 +61,17 @@
61
61
  -moz-border-radius: 2px * 4 /* moz only with operation */;
62
62
  }
63
63
 
64
+ .mixin_def_with_colors(@a: white, // in
65
+ @b: 1px //put in @b - causes problems! --->
66
+ ) // the
67
+ when (@a = white) {
68
+ .test {
69
+ color: @b;
70
+ }
71
+ }
72
+ .mixin_def_with_colors();
73
+
64
74
  #last { color: blue }
65
75
  //
76
+
77
+ /* *//* { *//* *//* *//* */#div { color:#A33; }/* } */
@@ -1,19 +1,21 @@
1
- .comma-delimited {
2
- background: url(bg.jpg) no-repeat, url(bg.png) repeat-x top left, url(bg);
1
+ .comma-delimited {
3
2
  text-shadow: -1px -1px 1px red, 6px 5px 5px yellow;
4
3
  -moz-box-shadow: 0pt 0pt 2px rgba(255, 255, 255, 0.4) inset,
5
4
  0pt 4px 6px rgba(255, 255, 255, 0.4) inset;
6
5
  }
7
6
  @font-face {
8
7
  font-family: Headline;
9
- src: local(Futura-Medium),
10
- url(fonts.svg#MyGeometricModern) format("svg");
8
+ unicode-range: U+??????, U+0???, U+0-7F, U+A5;
11
9
  }
12
10
  .other {
13
11
  -moz-transform: translate(0, 11em) rotate(-90deg);
12
+ transform: rotateX(45deg);
13
+ }
14
+ .item[data-cra_zy-attr1b-ut3=bold] {
15
+ font-weight: bold;
14
16
  }
15
17
  p:not([class*="lead"]) {
16
- color: black;
18
+ color: black;
17
19
  }
18
20
 
19
21
  input[type="text"].class#id[attr=32]:not(1) {
@@ -24,7 +26,7 @@ div#id.class[a=1][b=2].class:not(1) {
24
26
  color: white;
25
27
  }
26
28
 
27
- ul.comma > li:not(:only-child)::after {
29
+ ul.comma > li:not(:only-child)::after {
28
30
  color: white;
29
31
  }
30
32
 
@@ -63,3 +65,49 @@ p::before {
63
65
  5.5% { border: 2px }
64
66
  100% { border: 3px }
65
67
  }
68
+
69
+ @keyframes fontbulger1 {
70
+ to {
71
+ font-size: 15px;
72
+ }
73
+ from,to {
74
+ font-size: 12px;
75
+ }
76
+ 0%,100% {
77
+ font-size: 12px;
78
+ }
79
+ }
80
+
81
+ .units {
82
+ font: 1.2rem/2rem;
83
+ font: 8vw/9vw;
84
+ font: 10vh/12vh;
85
+ font: 12vm/15vm;
86
+ font: 12vmin/15vmin;
87
+ font: 1.2ch/1.5ch;
88
+ }
89
+
90
+ @supports ( box-shadow: 2px 2px 2px black ) or
91
+ ( -moz-box-shadow: 2px 2px 2px black ) {
92
+ .outline {
93
+ box-shadow: 2px 2px 2px black;
94
+ -moz-box-shadow: 2px 2px 2px black;
95
+ }
96
+ }
97
+
98
+ @-x-document url-prefix(""github.com"") {
99
+ h1 {
100
+ color: red;
101
+ }
102
+ }
103
+
104
+ @viewport {
105
+ font-size: 10px;
106
+ }
107
+ @namespace foo url(http://www.example.com);
108
+
109
+ foo|h1 { color: blue; }
110
+ foo|* { color: yellow; }
111
+ |h1 { color: red; }
112
+ *|h1 { color: green; }
113
+ h1 { color: green; }
@@ -25,4 +25,9 @@
25
25
  /* This hideous test of hideousness checks for the selector "blockquote" with various permutations of hex escapes */
26
26
  \62\6c\6f \63 \6B \0071 \000075o\74 e {
27
27
  color: silver;
28
- }
28
+ }
29
+
30
+ [ng\:cloak],
31
+ ng\:form {
32
+ display: none;
33
+ }
@@ -36,7 +36,6 @@ div#id {
36
36
 
37
37
  @font-face {
38
38
  font-family: 'Garamond Pro';
39
- src: url("/fonts/garamond-pro.ttf");
40
39
  }
41
40
 
42
41
  a:hover, a:link {
@@ -52,7 +51,7 @@ q:lang(no) {
52
51
  }
53
52
 
54
53
  p + h1 {
55
- font-size: 2.2em;
54
+ font-size: +2.2em;
56
55
  }
57
56
 
58
57
  #shorthands {
@@ -61,13 +60,13 @@ p + h1 {
61
60
  font: 100%/16px Arial;
62
61
  margin: 1px 0;
63
62
  padding: 0 auto;
64
- background: url("http://www.lesscss.org/spec.html") no-repeat 0 4px;
65
63
  }
66
64
 
67
65
  #more-shorthands {
68
66
  margin: 0;
69
67
  padding: 1px 0 2px 0;
70
68
  font: normal small/20px 'Trebuchet MS', Verdana, sans-serif;
69
+ font: 0/0 a;
71
70
  }
72
71
 
73
72
  .misc {
@@ -75,9 +74,11 @@ p + h1 {
75
74
  display: -moz-inline-stack;
76
75
  width: .1em;
77
76
  background-color: #009998;
78
- background-image: url(images/image.jpg);
79
77
  background: -webkit-gradient(linear, left top, left bottom, from(red), to(blue));
80
78
  margin: ;
79
+ .nested-multiple {
80
+ multiple-semi-colons: yes;;;;;;
81
+ };
81
82
  filter: alpha(opacity=100);
82
83
  }
83
84
 
@@ -87,14 +88,15 @@ p + h1 {
87
88
  height: 20px ! important;
88
89
  }
89
90
 
90
- #data-uri {
91
- background: url(data:image/png;charset=utf-8;base64,
92
- kiVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAABlBMVEUAAAD/
93
- k//+l2Z/dAAAAM0lEQVR4nGP4/5/h/1+G/58ZDrAz3D/McH8yw83NDDeNGe4U
94
- kg9C9zwz3gVLMDA/A6P9/AFGGFyjOXZtQAAAAAElFTkSuQmCC);
95
- background-image: url(data:image/x-png,f9difSSFIIGFIFJD1f982FSDKAA9==);
91
+ .def-font(@name) {
92
+ @font-face {
93
+ font-family: @name
94
+ }
96
95
  }
97
96
 
98
- #svg-data-uri {
99
- background: transparent url('data:image/svg+xml, <svg version="1.1"><g></g></svg>');
97
+ .def-font(font-a);
98
+ .def-font(font-b);
99
+
100
+ .æøå {
101
+ margin: 0;
100
102
  }
@@ -0,0 +1,25 @@
1
+ @charset "ISO-8859-1";
2
+
3
+ .mixin_import1() {
4
+ @media all {
5
+ .tst {
6
+ color: black;
7
+ @media screen {
8
+ color: red;
9
+ .tst3 {
10
+ color: white;
11
+ }
12
+ }
13
+ }
14
+ }
15
+ }
16
+
17
+ .mixin_import2() {
18
+ .tst2 {
19
+ color: white;
20
+ }
21
+ }
22
+
23
+ .tst3 {
24
+ color: grey;
25
+ }
@@ -0,0 +1,23 @@
1
+ @charset "UTF-8";
2
+
3
+ @import "import/test.less";
4
+
5
+ .start() {
6
+ .test2 {
7
+ color: red;
8
+ }
9
+ }
10
+
11
+ .mix() {
12
+ color: black;
13
+ }
14
+
15
+ .test1 {
16
+ .mix();
17
+ }
18
+
19
+ .start();
20
+
21
+ .mixin_import1();
22
+
23
+ .mixin_import2();
@@ -0,0 +1,2 @@
1
+ ParseError: Syntax Error on line 1 in {path}bad-variable-declaration1.less:1:0
2
+ 1 @@demo: "hi";
@@ -0,0 +1 @@
1
+ #gaga /* Comment */ span { color: red }
@@ -0,0 +1,2 @@
1
+ ParseError: Syntax Error on line 1 in {path}comment-in-selector.less:1:20
2
+ 1 #gaga /* Comment */ span { color: red }
@@ -0,0 +1 @@
1
+ @import "file-does-not-exist.less";
@@ -0,0 +1,3 @@
1
+ FileError: 'file-does-not-exist.less' wasn't found.
2
+ in {path}import-missing.less:1:0
3
+ 1 @import "file-does-not-exist.less";
@@ -0,0 +1 @@
1
+ @import "this-statement-is-invalid.less"
@@ -0,0 +1,2 @@
1
+ ParseError: Syntax Error on line 1 in {path}import-no-semi.less:1:0
2
+ 1 @import "this-statement-is-invalid.less"
@@ -0,0 +1 @@
1
+ @import "imports/import-subfolder1.less";
@@ -0,0 +1,3 @@
1
+ NameError: .mixin-not-defined is undefined in {pathrel}mixin-not-defined.less:11:0
2
+ 10
3
+ 11 .mixin-not-defined();
@@ -0,0 +1 @@
1
+ @import "imports/import-subfolder2.less";
@@ -0,0 +1,2 @@
1
+ ParseError: missing opening `{` in {pathrel}parse-error-curly-bracket.less:1:1
2
+ 1 }}
@@ -0,0 +1 @@
1
+ @import "subfolder/mixin-not-defined.less";
@@ -0,0 +1 @@
1
+ @import "subfolder/parse-error-curly-bracket.less";
@@ -0,0 +1,4 @@
1
+ .someclass
2
+ {
3
+ font-weight: bold;
4
+ }
@@ -0,0 +1 @@
1
+ @import "../../mixin-not-defined.less";
@@ -0,0 +1 @@
1
+ @import "../../parse-error-curly-bracket.less";
@@ -0,0 +1,3 @@
1
+ .scope {
2
+ var: `this.foo.toJS()`;
3
+ }
@@ -0,0 +1,4 @@
1
+ SyntaxError: JavaScript evaluation error: 'TypeError: Cannot call method 'toJS' of undefined' in {path}javascript-error.less:2:26
2
+ 1 .scope {
3
+ 2 var: `this.foo.toJS()`;
4
+ 3 }
@@ -0,0 +1,6 @@
1
+ .mixin(@a : 4, @b : 3, @c: 2) {
2
+ will: fail;
3
+ }
4
+ .mixin-test {
5
+ .mixin(@a: 5; @b: 6, @c: 7);
6
+ }
@@ -0,0 +1,4 @@
1
+ SyntaxError: Cannot mix ; and , as delimiter types in {path}mixed-mixin-definition-args-1.less:5:29
2
+ 4 .mixin-test {
3
+ 5 .mixin(@a: 5; @b: 6, @c: 7);
4
+ 6 }
@@ -0,0 +1,6 @@
1
+ .mixin(@a : 4, @b : 3, @c: 2) {
2
+ will: fail;
3
+ }
4
+ .mixin-test {
5
+ .mixin(@a: 5, @b: 6; @c: 7);
6
+ }
@@ -0,0 +1,4 @@
1
+ SyntaxError: Cannot mix ; and , as delimiter types in {path}mixed-mixin-definition-args-2.less:5:25
2
+ 4 .mixin-test {
3
+ 5 .mixin(@a: 5, @b: 6; @c: 7);
4
+ 6 }
@@ -0,0 +1,11 @@
1
+
2
+ .error-is-further-on() {
3
+ }
4
+
5
+ .pad-here-to-reproduce-error-in() {
6
+ }
7
+
8
+ .the-import-subfolder-test() {
9
+ }
10
+
11
+ .mixin-not-defined();
@@ -0,0 +1,3 @@
1
+ NameError: .mixin-not-defined is undefined in {path}mixin-not-defined.less:11:0
2
+ 10
3
+ 11 .mixin-not-defined();
@@ -0,0 +1,6 @@
1
+ @saxofon:trumpete;
2
+
3
+ .mixin(saxofon) {
4
+ }
5
+
6
+ .mixin(@saxofon);
@@ -0,0 +1,3 @@
1
+ RuntimeError: No matching definition was found for `.mixin(trumpete)` in {path}mixin-not-matched.less:6:0
2
+ 5
3
+ 6 .mixin(@saxofon);
@@ -0,0 +1,6 @@
1
+ @saxofon:trumpete;
2
+
3
+ .mixin(@a, @b) {
4
+ }
5
+
6
+ .mixin(@a: @saxofon);
@@ -0,0 +1,3 @@
1
+ RuntimeError: No matching definition was found for `.mixin(@a:trumpete)` in {path}mixin-not-matched2.less:6:0
2
+ 5
3
+ 6 .mixin(@a: @saxofon);
@@ -0,0 +1,2 @@
1
+ ParseError: missing opening `{` in {path}parse-error-curly-bracket.less:1:1
2
+ 1 }}
@@ -0,0 +1,2 @@
1
+ body {
2
+ background-color: #fff;
@@ -0,0 +1,2 @@
1
+ ParseError: missing closing `}` in {path}parse-error-missing-bracket.less:3:0
2
+ 2 background-color: #fff;
@@ -0,0 +1,13 @@
1
+ @import 'import/import-test.less';
2
+
3
+ body
4
+ {
5
+ font-family: arial, sans-serif;
6
+ }
7
+
8
+ nonsense;
9
+
10
+ .clickable
11
+ {
12
+ cursor: pointer;
13
+ }