@less/test-data 4.8.1 → 5.0.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/UPSTREAM-FIXTURE-SYNC.md +54 -0
- package/package.json +4 -1
- package/styles.config.ts +15 -0
- package/tests-config/3rd-party/styles.config.cjs +1 -1
- package/tests-config/compression/styles.config.cjs +1 -1
- package/tests-config/debug/all/styles.config.cjs +1 -1
- package/tests-config/debug/comments/styles.config.cjs +1 -1
- package/tests-config/debug/mediaquery/styles.config.cjs +1 -1
- package/tests-config/filemanagerPlugin/styles.config.cjs +1 -1
- package/tests-config/functions-harness/functions-harness.css +8 -0
- package/tests-config/functions-harness/functions-harness.less +10 -0
- package/tests-config/namespacing/legacy/namespacing-7.css +15 -0
- package/tests-config/namespacing/namespacing-5.less +3 -3
- package/tests-config/namespacing/namespacing-7.css +16 -8
- package/tests-config/namespacing/styles.config.cjs +4 -1
- package/tests-config/strict-imports/legacy/strict-imports.css +14 -0
- package/tests-config/strict-imports/strict-imports.css +4 -2
- package/tests-config/strict-imports/styles.config.cjs +6 -5
- package/tests-error/eval/ampersand-merge-template-invalid.less +7 -0
- package/tests-error/eval/ampersand-merge-template-invalid.txt +1 -0
- package/tests-error/eval/at-rules-undefined-var.less +1 -1
- package/tests-unit/at-rule-variable-interpolation/at-rule-variable-interpolation.css +45 -0
- package/tests-unit/at-rule-variable-interpolation/at-rule-variable-interpolation.less +72 -0
- package/tests-unit/at-rules/at-rules.css +8 -6
- package/tests-unit/at-rules/legacy/at-rules.css +110 -0
- package/tests-unit/at-rules/styles.config.ts +5 -0
- package/tests-unit/at-rules-bubbling/at-rules-bubbling.css +121 -0
- package/tests-unit/at-rules-bubbling/legacy/at-rules-bubbling.css +122 -0
- package/tests-unit/at-rules-keyword-comments/at-rules-keyword-comments.css +2 -5
- package/tests-unit/at-rules-keyword-comments/legacy/at-rules-keyword-comments.css +12 -0
- package/tests-unit/at-rules-targeted/at-rules-targeted.css +5 -3
- package/tests-unit/at-rules-targeted/legacy/at-rules-targeted.css +55 -0
- package/tests-unit/calc/calc.css +8 -8
- package/tests-unit/calc/calc.less +1 -0
- package/tests-unit/calc/legacy/calc.css +32 -0
- package/tests-unit/color-functions/basic.css +1 -1
- package/tests-unit/color-functions/comprehensive.css +5 -5
- package/tests-unit/color-functions/comprehensive.less +1 -0
- package/tests-unit/color-functions/formats.css +0 -12
- package/tests-unit/color-functions/formats.less +0 -15
- package/tests-unit/color-functions/legacy/basic.css +21 -0
- package/tests-unit/color-functions/legacy/comprehensive.css +48 -0
- package/tests-unit/color-functions/legacy/modern-syntax.css +9 -0
- package/tests-unit/color-functions/legacy/operations.css +18 -0
- package/tests-unit/color-functions/legacy/rgba.css +20 -0
- package/tests-unit/color-functions/modern-syntax.css +4 -4
- package/tests-unit/color-functions/modern-syntax.less +1 -0
- package/tests-unit/color-functions/operations.less +1 -0
- package/tests-unit/color-functions/rgba.css +3 -3
- package/tests-unit/color-functions/rgba.less +3 -1
- package/tests-unit/comments/comments.css +5 -6
- package/tests-unit/comments/comments.less +2 -1
- package/tests-unit/comments/comments2.css +4 -6
- package/tests-unit/comments/comments2.less +3 -0
- package/tests-unit/comments/legacy/comments.css +86 -0
- package/tests-unit/comments/legacy/comments2.css +21 -0
- package/tests-unit/container/container.css +40 -83
- package/tests-unit/container/container.less +28 -82
- package/tests-unit/container/legacy/container.css +273 -0
- package/tests-unit/container/styles.config.ts +8 -0
- package/tests-unit/css-3/css-3.css +4 -4
- package/tests-unit/css-3/legacy/css-3.css +147 -0
- package/tests-unit/css-escapes/css-escapes.css +4 -4
- package/tests-unit/css-escapes/legacy/css-escapes.css +34 -0
- package/tests-unit/css-escapes/styles.config.ts +5 -0
- package/tests-unit/css-grid/css-grid.css +4 -1
- package/tests-unit/css-grid/legacy/css-grid.css +27 -0
- package/tests-unit/css-guards/css-guards.less +2 -1
- package/tests-unit/detached-rulesets/detached-rulesets.css +26 -18
- package/tests-unit/detached-rulesets/legacy/detached-rulesets.css +79 -0
- package/tests-unit/directives-bubbling/directives-bubbling.css +16 -14
- package/tests-unit/extend/extend.css +22 -28
- package/tests-unit/extend/legacy/extend.css +79 -0
- package/tests-unit/extend/styles.config.ts +5 -0
- package/tests-unit/extend-chaining/extend-chaining.css +7 -10
- package/tests-unit/extend-chaining/legacy/extend-chaining.css +84 -0
- package/tests-unit/extend-clearfix/extend-clearfix.css +1 -3
- package/tests-unit/extend-clearfix/extend-clearfix.less +0 -1
- package/tests-unit/{extend → extend-clearfix/legacy}/extend-clearfix.css +3 -0
- package/tests-unit/extend-exact/extend-exact.css +25 -24
- package/tests-unit/extend-exact/legacy/extend-exact.css +40 -0
- package/tests-unit/extend-exact/styles.config.ts +5 -0
- package/tests-unit/extend-media/extend-media.css +9 -14
- package/tests-unit/extend-media/legacy/extend-media.css +27 -0
- package/tests-unit/extend-media/styles.config.ts +5 -0
- package/tests-unit/extend-nest/extend-nest.css +3 -22
- package/tests-unit/extend-nest/legacy/extend-nest.css +60 -0
- package/tests-unit/extend-selector/extend-selector.css +42 -67
- package/tests-unit/extend-selector/extend-selector.less +0 -15
- package/tests-unit/extend-selector/legacy/extend-selector.css +73 -0
- package/tests-unit/extend-selector/styles.config.ts +5 -0
- package/tests-unit/extract-and-length/extract-and-length.css +6 -5
- package/tests-unit/extract-and-length/extract-and-length.less +7 -2
- package/tests-unit/extract-and-length/legacy/extract-and-length.css +137 -0
- package/tests-unit/functions/functions.css +5 -14
- package/tests-unit/functions/functions.less +7 -17
- package/tests-unit/functions/legacy/functions.css +244 -0
- package/tests-unit/functions/legacy/functions.less +296 -0
- package/tests-unit/functions-each/functions-each.css +4 -2
- package/tests-unit/import/import-reference-issues.css +6 -6
- package/tests-unit/import/import-reference.css +4 -2
- package/tests-unit/import/legacy/import-reference-issues.css +27 -0
- package/tests-unit/import/legacy/import-reference.css +101 -0
- package/tests-unit/import/styles.config.cjs +5 -4
- package/tests-unit/layer/layer.css +30 -28
- package/tests-unit/layer/legacy/layer.css +136 -0
- package/tests-unit/layer/styles.config.ts +5 -0
- package/tests-unit/math-css-vars/math-css-vars.css +1 -0
- package/tests-unit/math-css-vars/math-css-vars.less +1 -0
- package/tests-unit/media/legacy/media.css +274 -0
- package/tests-unit/media/media.css +49 -43
- package/tests-unit/media/media.less +0 -2
- package/tests-unit/media/styles.config.cjs +5 -0
- package/tests-unit/merge/merge.css +2 -2
- package/tests-unit/mixin-noparens/legacy/mixin-noparens.css +10 -0
- package/tests-unit/mixin-noparens/mixin-noparens.css +4 -2
- package/tests-unit/mixin-noparens/styles.config.ts +5 -0
- package/tests-unit/mixins/legacy/maps.css +9 -0
- package/tests-unit/mixins/legacy/mixins.css +147 -0
- package/tests-unit/mixins/maps.css +7 -5
- package/tests-unit/mixins/mixins.css +7 -5
- package/tests-unit/mixins/styles.config.ts +5 -0
- package/tests-unit/mixins-closure/legacy/mixins-closure.css +12 -0
- package/tests-unit/mixins-closure/mixins-closure.css +4 -2
- package/tests-unit/mixins-closure/styles.config.ts +5 -0
- package/tests-unit/mixins-guards/legacy/mixins-guards.css +214 -0
- package/tests-unit/mixins-guards/mixins-guards.css +5 -3
- package/tests-unit/mixins-guards/mixins-guards.less +0 -1
- package/tests-unit/mixins-guards/styles.config.ts +5 -0
- package/tests-unit/mixins-guards-default-func/legacy/mixins-guards-default-func.css +132 -0
- package/tests-unit/mixins-guards-default-func/mixins-guards-default-func.css +0 -2
- package/tests-unit/mixins-important/mixins-important.css +33 -19
- package/tests-unit/mixins-interpolated/legacy/mixins-interpolated.css +42 -0
- package/tests-unit/mixins-interpolated/mixins-interpolated.css +24 -14
- package/tests-unit/mixins-interpolated/styles.config.ts +5 -0
- package/tests-unit/mixins-nested/legacy/mixins-nested.css +17 -0
- package/tests-unit/mixins-nested/mixins-nested.css +16 -12
- package/tests-unit/mixins-nested/styles.config.ts +5 -0
- package/tests-unit/nesting/legacy/nesting.css +27 -0
- package/tests-unit/nesting/nesting-uncollapsed.css +26 -0
- package/tests-unit/nesting/nesting.css +1 -1
- package/tests-unit/nesting/styles.config.ts +6 -0
- package/tests-unit/operations/operations.css +4 -2
- package/tests-unit/parse-interpolation/legacy/parse-interpolation.css +39 -0
- package/tests-unit/parse-interpolation/parse-interpolation.css +72 -35
- package/tests-unit/parse-interpolation/parse-interpolation.less +73 -25
- package/tests-unit/parse-interpolation/styles.config.ts +5 -0
- package/tests-unit/parser-property-interp/parser-property-interp.css +1 -1
- package/tests-unit/parser-property-interp/parser-property-interp.less +2 -2
- package/tests-unit/parser-slashed-combinator/parser-slashed-combinator.css +1 -9
- package/tests-unit/parser-slashed-combinator/parser-slashed-combinator.less +11 -11
- package/tests-unit/plugin/styles.config.ts +11 -0
- package/tests-unit/property-accessors/legacy/property-accessors.css +60 -0
- package/tests-unit/property-accessors/property-accessors.css +15 -7
- package/tests-unit/property-name-interp/legacy/property-name-interp.css +24 -0
- package/tests-unit/property-name-interp/property-name-interp.css +1 -1
- package/tests-unit/property-name-interp/property-name-interp.less +4 -2
- package/tests-unit/property-targeted/legacy/property-targeted.css +7 -0
- package/tests-unit/property-targeted/property-targeted.css +1 -1
- package/tests-unit/rulesets/legacy/rulesets.css +31 -0
- package/tests-unit/rulesets/rulesets.css +30 -30
- package/tests-unit/rulesets/styles.config.ts +5 -0
- package/tests-unit/scope/legacy/scope.css +41 -0
- package/tests-unit/scope/scope.css +1 -1
- package/tests-unit/selectors/selectors.css +13 -41
- package/tests-unit/styles.config.cjs +1 -1
- package/tests-unit/styles.config.ts +8 -0
- package/tests-unit/variables/legacy/variable-advanced.css +58 -0
- package/tests-unit/variables/variable-advanced.css +1 -4
- package/tests-unit/variables/variable-advanced.less +5 -4
- package/tests-unit/variables-in-at-rules/variables-in-at-rules.less +3 -2
- package/tests-unit/whitespace/legacy/whitespace.css +45 -0
- package/tests-unit/whitespace/whitespace.css +3 -2
- package/tests-warnings/parentless-ampersand-nested.less +6 -0
- package/tests-warnings/parentless-ampersand-nested.txt +42 -0
- package/tests-warnings/parentless-ampersand.less +3 -0
- package/tests-warnings/parentless-ampersand.txt +21 -0
- package/tests-unit/extend/extend-clearfix.less +0 -19
- /package/tests-unit/{directives-bubbling/directives-bubbling.less → at-rules-bubbling/at-rules-bubbling.less} +0 -0
- /package/tests-unit/{ie-filters → ie-filters-REMOVED/legacy}/ie-filters.css +0 -0
- /package/tests-unit/{ie-filters → ie-filters-REMOVED/legacy}/ie-filters.less +0 -0
- /package/tests-unit/{javascript → javascript-REMOVED/legacy}/javascript.css +0 -0
- /package/tests-unit/{javascript → javascript-REMOVED/legacy}/javascript.less +0 -0
- /package/tests-unit/{javascript → javascript-REMOVED/legacy}/styles.config.cjs +0 -0
|
@@ -37,43 +37,45 @@
|
|
|
37
37
|
.body header {
|
|
38
38
|
background-color: red;
|
|
39
39
|
}
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
40
|
+
@media (orientation: landscape) {
|
|
41
|
+
.body {
|
|
42
|
+
margin-left: 20px;
|
|
43
|
+
}
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
@media screen {
|
|
47
47
|
.sidebar {
|
|
48
48
|
width: 300px;
|
|
49
49
|
}
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
@media a and (b) {
|
|
57
|
-
.first .second .third {
|
|
58
|
-
width: 300px;
|
|
59
|
-
}
|
|
60
|
-
.first .second .fourth {
|
|
61
|
-
width: 3;
|
|
50
|
+
@media (orientation: landscape) {
|
|
51
|
+
.sidebar {
|
|
52
|
+
width: 500px;
|
|
53
|
+
}
|
|
62
54
|
}
|
|
63
55
|
}
|
|
64
|
-
@media a
|
|
65
|
-
|
|
66
|
-
|
|
56
|
+
@media a {
|
|
57
|
+
@media (b) {
|
|
58
|
+
.first .second .third {
|
|
59
|
+
width: 300px;
|
|
60
|
+
}
|
|
61
|
+
@media (c) {
|
|
62
|
+
.first .second .third {
|
|
63
|
+
width: 500px;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
.first .second .fourth {
|
|
67
|
+
width: 3;
|
|
68
|
+
}
|
|
67
69
|
}
|
|
68
70
|
}
|
|
69
71
|
@media a, (b) and (c) {
|
|
70
72
|
.body {
|
|
71
73
|
width: 95%;
|
|
72
74
|
}
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
75
|
+
@media (x), (y) {
|
|
76
|
+
.body {
|
|
77
|
+
width: 100%;
|
|
78
|
+
}
|
|
77
79
|
}
|
|
78
80
|
}
|
|
79
81
|
.a {
|
|
@@ -83,10 +85,10 @@
|
|
|
83
85
|
.a {
|
|
84
86
|
background: white;
|
|
85
87
|
}
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
88
|
+
@media (max-width: 100px) {
|
|
89
|
+
.a {
|
|
90
|
+
background: red;
|
|
91
|
+
}
|
|
90
92
|
}
|
|
91
93
|
}
|
|
92
94
|
.b {
|
|
@@ -96,10 +98,10 @@
|
|
|
96
98
|
.b {
|
|
97
99
|
background: white;
|
|
98
100
|
}
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
101
|
+
@media (max-width: 200px) {
|
|
102
|
+
.b {
|
|
103
|
+
background: red;
|
|
104
|
+
}
|
|
103
105
|
}
|
|
104
106
|
}
|
|
105
107
|
@media only screen and (max-width: 200px) {
|
|
@@ -114,7 +116,7 @@
|
|
|
114
116
|
@page :right {
|
|
115
117
|
margin: 0.5cm;
|
|
116
118
|
}
|
|
117
|
-
@page Test:first {
|
|
119
|
+
@page Test :first {
|
|
118
120
|
margin: 1cm;
|
|
119
121
|
}
|
|
120
122
|
@page :first {
|
|
@@ -169,7 +171,7 @@
|
|
|
169
171
|
}
|
|
170
172
|
}
|
|
171
173
|
}
|
|
172
|
-
@media (-webkit-min-device-pixel-ratio: 2), (min--moz-device-pixel-ratio: 2), (-o-min-device-pixel-ratio: 2/1), (min-resolution: 2dppx), (min-resolution: 128dpcm) {
|
|
174
|
+
@media (-webkit-min-device-pixel-ratio: 2), (min--moz-device-pixel-ratio: 2), (-o-min-device-pixel-ratio: 2 / 1), (min-resolution: 2dppx), (min-resolution: 128dpcm) {
|
|
173
175
|
.b {
|
|
174
176
|
background: red;
|
|
175
177
|
}
|
|
@@ -185,20 +187,22 @@
|
|
|
185
187
|
@media (max-width: 1000px) {
|
|
186
188
|
.body {
|
|
187
189
|
background: red;
|
|
188
|
-
background: blue;
|
|
189
190
|
}
|
|
190
|
-
|
|
191
|
-
|
|
191
|
+
@media (max-width: 500px) {
|
|
192
|
+
.body {
|
|
193
|
+
background: green;
|
|
194
|
+
}
|
|
195
|
+
}
|
|
192
196
|
.body {
|
|
193
|
-
background:
|
|
197
|
+
background: blue;
|
|
194
198
|
}
|
|
195
199
|
}
|
|
196
200
|
@media (max-width: 1200px) {
|
|
197
201
|
/* a comment */
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
+
@media (max-width: 900px) {
|
|
203
|
+
.body {
|
|
204
|
+
font-size: 11px;
|
|
205
|
+
}
|
|
202
206
|
}
|
|
203
207
|
}
|
|
204
208
|
@media (min-width: 480px) {
|
|
@@ -206,17 +210,19 @@
|
|
|
206
210
|
display: table-cell;
|
|
207
211
|
}
|
|
208
212
|
}
|
|
209
|
-
@media (min-width: 768px)
|
|
213
|
+
@media (min-width: 768px) {
|
|
214
|
+
@media (min-width: 480px) {
|
|
210
215
|
.menu > li {
|
|
211
216
|
display: table-cell;
|
|
212
217
|
}
|
|
213
218
|
}
|
|
219
|
+
}
|
|
214
220
|
@media all and (tv) {
|
|
215
221
|
.all-and-tv-variables {
|
|
216
222
|
var: all-and-tv;
|
|
217
223
|
}
|
|
218
224
|
}
|
|
219
|
-
@media screen and (min-width:
|
|
225
|
+
@media screen and (min-width: (60px + 1)) {
|
|
220
226
|
.selector {
|
|
221
227
|
foo: bar;
|
|
222
228
|
}
|
|
@@ -22,12 +22,12 @@
|
|
|
22
22
|
transform: scale(2, 4), scale(2, 4), scale(2, 4) !important;
|
|
23
23
|
}
|
|
24
24
|
.test-rule-interleaved {
|
|
25
|
-
transform: t1, t2, t3;
|
|
26
25
|
background: b1, b2, b3;
|
|
26
|
+
transform: t1, t2, t3;
|
|
27
27
|
}
|
|
28
28
|
.test-rule-spaced {
|
|
29
|
-
transform: t1 t2 t3;
|
|
30
29
|
background: b1 b2, b3;
|
|
30
|
+
transform: t1 t2 t3;
|
|
31
31
|
}
|
|
32
32
|
.test-rule-interleaved-with-spaced {
|
|
33
33
|
transform: t1s, t2 t3s, t4 t5s t6s;
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
/* Less 4.x output, recorded when this fixture graduated to v5.
|
|
2
|
+
Historical record only — no test reads this file. */
|
|
3
|
+
|
|
4
|
+
.mixin {
|
|
5
|
+
border: 1px solid black;
|
|
6
|
+
}
|
|
7
|
+
.mixout {
|
|
8
|
+
border-color: orange;
|
|
9
|
+
}
|
|
10
|
+
.borders {
|
|
11
|
+
border-style: dashed;
|
|
12
|
+
}
|
|
13
|
+
.mixin > * {
|
|
14
|
+
border: do not match me;
|
|
15
|
+
}
|
|
16
|
+
#namespace .borders {
|
|
17
|
+
border-style: dotted;
|
|
18
|
+
}
|
|
19
|
+
#namespace .biohazard {
|
|
20
|
+
content: "death";
|
|
21
|
+
}
|
|
22
|
+
#namespace .biohazard .man {
|
|
23
|
+
color: transparent;
|
|
24
|
+
}
|
|
25
|
+
#theme > .mixin {
|
|
26
|
+
background-color: grey;
|
|
27
|
+
}
|
|
28
|
+
#container {
|
|
29
|
+
color: black;
|
|
30
|
+
border: 1px solid black;
|
|
31
|
+
border-color: orange;
|
|
32
|
+
background-color: grey;
|
|
33
|
+
}
|
|
34
|
+
#header .milk {
|
|
35
|
+
color: inherit;
|
|
36
|
+
border: 1px solid black;
|
|
37
|
+
background-color: grey;
|
|
38
|
+
}
|
|
39
|
+
#header #cookie {
|
|
40
|
+
border-style: dashed;
|
|
41
|
+
}
|
|
42
|
+
#header #cookie .chips {
|
|
43
|
+
border-style: dotted;
|
|
44
|
+
}
|
|
45
|
+
#header #cookie .chips .calories {
|
|
46
|
+
color: black;
|
|
47
|
+
border: 1px solid black;
|
|
48
|
+
border-color: orange;
|
|
49
|
+
background-color: grey;
|
|
50
|
+
}
|
|
51
|
+
.secure-zone {
|
|
52
|
+
color: transparent;
|
|
53
|
+
}
|
|
54
|
+
.direct {
|
|
55
|
+
border-style: dotted;
|
|
56
|
+
}
|
|
57
|
+
.bo,
|
|
58
|
+
.bar {
|
|
59
|
+
width: 100%;
|
|
60
|
+
}
|
|
61
|
+
.bo {
|
|
62
|
+
border: 1px;
|
|
63
|
+
}
|
|
64
|
+
.ar.bo.ca {
|
|
65
|
+
color: black;
|
|
66
|
+
}
|
|
67
|
+
.jo.ki {
|
|
68
|
+
background: none;
|
|
69
|
+
}
|
|
70
|
+
.amp.support {
|
|
71
|
+
color: orange;
|
|
72
|
+
}
|
|
73
|
+
.amp.support .higher {
|
|
74
|
+
top: 0px;
|
|
75
|
+
}
|
|
76
|
+
.amp.support.deeper {
|
|
77
|
+
height: auto;
|
|
78
|
+
}
|
|
79
|
+
.extended {
|
|
80
|
+
width: 100%;
|
|
81
|
+
border: 1px;
|
|
82
|
+
background: none;
|
|
83
|
+
color: orange;
|
|
84
|
+
top: 0px;
|
|
85
|
+
height: auto;
|
|
86
|
+
}
|
|
87
|
+
.extended .higher {
|
|
88
|
+
top: 0px;
|
|
89
|
+
}
|
|
90
|
+
.extended.deeper {
|
|
91
|
+
height: auto;
|
|
92
|
+
}
|
|
93
|
+
.do .re .mi .fa .sol .la .si {
|
|
94
|
+
color: cyan;
|
|
95
|
+
}
|
|
96
|
+
.mutli-selector-parents {
|
|
97
|
+
color: cyan;
|
|
98
|
+
}
|
|
99
|
+
.foo .bar {
|
|
100
|
+
width: 100%;
|
|
101
|
+
}
|
|
102
|
+
.underParents {
|
|
103
|
+
color: red;
|
|
104
|
+
}
|
|
105
|
+
.parent .underParents {
|
|
106
|
+
color: red;
|
|
107
|
+
}
|
|
108
|
+
* + h1 {
|
|
109
|
+
margin-top: 25px;
|
|
110
|
+
}
|
|
111
|
+
legend + h1 {
|
|
112
|
+
margin-top: 0;
|
|
113
|
+
}
|
|
114
|
+
h1 + * {
|
|
115
|
+
margin-top: 10px;
|
|
116
|
+
}
|
|
117
|
+
* + h2 {
|
|
118
|
+
margin-top: 20px;
|
|
119
|
+
}
|
|
120
|
+
legend + h2 {
|
|
121
|
+
margin-top: 0;
|
|
122
|
+
}
|
|
123
|
+
h2 + * {
|
|
124
|
+
margin-top: 8px;
|
|
125
|
+
}
|
|
126
|
+
* + h3 {
|
|
127
|
+
margin-top: 15px;
|
|
128
|
+
}
|
|
129
|
+
legend + h3 {
|
|
130
|
+
margin-top: 0;
|
|
131
|
+
}
|
|
132
|
+
h3 + * {
|
|
133
|
+
margin-top: 5px;
|
|
134
|
+
}
|
|
135
|
+
.error {
|
|
136
|
+
background-image: "/a.png";
|
|
137
|
+
background-position: center center;
|
|
138
|
+
}
|
|
139
|
+
.test-rule-rec .recursion {
|
|
140
|
+
color: black;
|
|
141
|
+
}
|
|
142
|
+
.button {
|
|
143
|
+
padding-left: 44px;
|
|
144
|
+
}
|
|
145
|
+
.button.large {
|
|
146
|
+
padding-left: 40em;
|
|
147
|
+
}
|
|
@@ -33,9 +33,6 @@
|
|
|
33
33
|
border: 1px solid black;
|
|
34
34
|
background-color: grey;
|
|
35
35
|
}
|
|
36
|
-
#header #cookie {
|
|
37
|
-
border-style: dashed;
|
|
38
|
-
}
|
|
39
36
|
#header #cookie .chips {
|
|
40
37
|
border-style: dotted;
|
|
41
38
|
}
|
|
@@ -45,6 +42,9 @@
|
|
|
45
42
|
border-color: orange;
|
|
46
43
|
background-color: grey;
|
|
47
44
|
}
|
|
45
|
+
#header #cookie {
|
|
46
|
+
border-style: dashed;
|
|
47
|
+
}
|
|
48
48
|
.secure-zone {
|
|
49
49
|
color: transparent;
|
|
50
50
|
}
|
|
@@ -78,8 +78,6 @@
|
|
|
78
78
|
border: 1px;
|
|
79
79
|
background: none;
|
|
80
80
|
color: orange;
|
|
81
|
-
top: 0px;
|
|
82
|
-
height: auto;
|
|
83
81
|
}
|
|
84
82
|
.extended .higher {
|
|
85
83
|
top: 0px;
|
|
@@ -87,6 +85,10 @@
|
|
|
87
85
|
.extended.deeper {
|
|
88
86
|
height: auto;
|
|
89
87
|
}
|
|
88
|
+
.extended {
|
|
89
|
+
top: 0px;
|
|
90
|
+
height: auto;
|
|
91
|
+
}
|
|
90
92
|
.do .re .mi .fa .sol .la .si {
|
|
91
93
|
color: cyan;
|
|
92
94
|
}
|
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
/* Less 4.x output, recorded when this fixture graduated to v5.
|
|
2
|
+
Historical record only — no test reads this file. */
|
|
3
|
+
|
|
4
|
+
.light1 {
|
|
5
|
+
color: inherit;
|
|
6
|
+
margin: 1px;
|
|
7
|
+
}
|
|
8
|
+
.light2 {
|
|
9
|
+
color: black;
|
|
10
|
+
margin: 1px;
|
|
11
|
+
}
|
|
12
|
+
.max1 {
|
|
13
|
+
width: 6;
|
|
14
|
+
}
|
|
15
|
+
.max2 {
|
|
16
|
+
width: 8;
|
|
17
|
+
}
|
|
18
|
+
.glob1 {
|
|
19
|
+
margin: auto auto;
|
|
20
|
+
}
|
|
21
|
+
.ops1 {
|
|
22
|
+
height: gt-or-eq;
|
|
23
|
+
height: lt-or-eq;
|
|
24
|
+
height: lt-or-eq-alias;
|
|
25
|
+
}
|
|
26
|
+
.ops2 {
|
|
27
|
+
height: gt-or-eq;
|
|
28
|
+
height: not-eq;
|
|
29
|
+
}
|
|
30
|
+
.ops3 {
|
|
31
|
+
height: lt-or-eq;
|
|
32
|
+
height: lt-or-eq-alias;
|
|
33
|
+
height: not-eq;
|
|
34
|
+
}
|
|
35
|
+
.default1 {
|
|
36
|
+
content: default;
|
|
37
|
+
}
|
|
38
|
+
.test-rule1 {
|
|
39
|
+
content: "true.";
|
|
40
|
+
}
|
|
41
|
+
.test-rule2 {
|
|
42
|
+
content: "false.";
|
|
43
|
+
}
|
|
44
|
+
.test-rule3 {
|
|
45
|
+
content: "false.";
|
|
46
|
+
}
|
|
47
|
+
.test-rule4 {
|
|
48
|
+
content: "false.";
|
|
49
|
+
}
|
|
50
|
+
.test-rule5 {
|
|
51
|
+
content: "false.";
|
|
52
|
+
}
|
|
53
|
+
.bool1 {
|
|
54
|
+
content: true and true;
|
|
55
|
+
content: true;
|
|
56
|
+
content: false, true;
|
|
57
|
+
content: false and true and true, true;
|
|
58
|
+
content: false, true and true;
|
|
59
|
+
content: false, false, true;
|
|
60
|
+
content: false, true and true and true, false;
|
|
61
|
+
content: not false;
|
|
62
|
+
content: not false and false, not false;
|
|
63
|
+
}
|
|
64
|
+
.equality-units {
|
|
65
|
+
test: pass;
|
|
66
|
+
}
|
|
67
|
+
.colorguardtest {
|
|
68
|
+
content: is red;
|
|
69
|
+
content: is not blue its red;
|
|
70
|
+
content: is not blue its purple;
|
|
71
|
+
}
|
|
72
|
+
.stringguardtest {
|
|
73
|
+
content: "theme1" is "theme1";
|
|
74
|
+
content: "theme1" is not "theme2";
|
|
75
|
+
content: "theme1" is 'theme1';
|
|
76
|
+
content: "theme1" is not 'theme2';
|
|
77
|
+
content: 'theme1' is "theme1";
|
|
78
|
+
content: 'theme1' is not "theme2";
|
|
79
|
+
content: 'theme1' is 'theme1';
|
|
80
|
+
content: 'theme1' is not 'theme2';
|
|
81
|
+
content: theme1 is not "theme2";
|
|
82
|
+
content: theme1 is not 'theme2';
|
|
83
|
+
content: theme1 is theme1;
|
|
84
|
+
}
|
|
85
|
+
.variouse-types-comparison {
|
|
86
|
+
/**/
|
|
87
|
+
content: true is not equal to false;
|
|
88
|
+
content: false is not equal to true too;
|
|
89
|
+
/**/
|
|
90
|
+
content: 1 is not equal to true;
|
|
91
|
+
content: true is not equal to 1 too;
|
|
92
|
+
/**/
|
|
93
|
+
content: 2 is equal to 2px;
|
|
94
|
+
content: 2px is equal to 2 too;
|
|
95
|
+
/**/
|
|
96
|
+
content: 3 is equal to 3;
|
|
97
|
+
content: 3 is equal to 3 too;
|
|
98
|
+
/**/
|
|
99
|
+
content: 5 is not equal to 4;
|
|
100
|
+
content: 4 is not equal to 5 too;
|
|
101
|
+
/**/
|
|
102
|
+
content: abc is equal to abc;
|
|
103
|
+
content: abc is equal to abc too;
|
|
104
|
+
/**/
|
|
105
|
+
content: abc is not equal to "abc";
|
|
106
|
+
content: "abc" is not equal to abc too;
|
|
107
|
+
/**/
|
|
108
|
+
content: 'abc' is less than "abd";
|
|
109
|
+
content: "abd" is greater than 'abc' too;
|
|
110
|
+
content: 'abc' is not equal to "abd";
|
|
111
|
+
content: "abd" is not equal to 'abc' too;
|
|
112
|
+
/**/
|
|
113
|
+
content: 6 is equal to 6;
|
|
114
|
+
content: 6 is equal to 6 too;
|
|
115
|
+
/**/
|
|
116
|
+
content: 8 is less than 9 too;
|
|
117
|
+
content: 9 is greater than 8;
|
|
118
|
+
content: 9 is not equal to 8;
|
|
119
|
+
content: 8 is not equal to 9 too;
|
|
120
|
+
/**/
|
|
121
|
+
content: a is not equal to b;
|
|
122
|
+
content: b is not equal to a too;
|
|
123
|
+
/**/
|
|
124
|
+
content: 1 2 is not equal to 3;
|
|
125
|
+
content: 3 is not equal to 1 2 too;
|
|
126
|
+
}
|
|
127
|
+
.list-comparison {
|
|
128
|
+
/**/
|
|
129
|
+
content: a b c is equal to a b c;
|
|
130
|
+
content: a b c is equal to a b c too;
|
|
131
|
+
/**/
|
|
132
|
+
content: a b c is not equal to a b d;
|
|
133
|
+
content: a b d is not equal to a b c too;
|
|
134
|
+
/**/
|
|
135
|
+
content: a, b, c is equal to a, b, c;
|
|
136
|
+
content: a, b, c is equal to a, b, c too;
|
|
137
|
+
/**/
|
|
138
|
+
content: a, b, c is not equal to a, b, d;
|
|
139
|
+
content: a, b, d is not equal to a, b, c too;
|
|
140
|
+
/**/
|
|
141
|
+
content: 1 2px 300ms is equal to 1em 2 0.3s;
|
|
142
|
+
content: 1em 2 0.3s is equal to 1 2px 300ms too;
|
|
143
|
+
/**/
|
|
144
|
+
content: 1 2 3 is not equal to 1, 2, 3;
|
|
145
|
+
content: 1, 2, 3 is not equal to 1 2 3 too;
|
|
146
|
+
/**/
|
|
147
|
+
content: 1, 2, 3 is equal to 1, 2, 3;
|
|
148
|
+
content: 1, 2, 3 is equal to 1, 2, 3 too;
|
|
149
|
+
/**/
|
|
150
|
+
content: 1 2 3 1, 2, 3 is equal to 1 2 3 1, 2, 3;
|
|
151
|
+
content: 1 2 3 1, 2, 3 is equal to 1 2 3 1, 2, 3 too;
|
|
152
|
+
/**/
|
|
153
|
+
content: 1 2 3 1, 2, 3 is not equal to 1, 2, 3 1 2 3;
|
|
154
|
+
content: 1, 2, 3 1 2 3 is not equal to 1 2 3 1, 2, 3 too;
|
|
155
|
+
/**/
|
|
156
|
+
content: 1 2 3 1, 2, 3 4 is equal to 1 2 3 1, 2, 3 4;
|
|
157
|
+
content: 1 2 3 1, 2, 3 4 is equal to 1 2 3 1, 2, 3 4 too;
|
|
158
|
+
}
|
|
159
|
+
#tryNumberPx {
|
|
160
|
+
catch: all;
|
|
161
|
+
declare: 4;
|
|
162
|
+
declare: 4px;
|
|
163
|
+
}
|
|
164
|
+
.call-lock-mixin .call-inner-lock-mixin {
|
|
165
|
+
a: 1;
|
|
166
|
+
x: 1;
|
|
167
|
+
}
|
|
168
|
+
.mixin-generated-class {
|
|
169
|
+
a: 1;
|
|
170
|
+
}
|
|
171
|
+
#guarded-caller {
|
|
172
|
+
guarded: namespace;
|
|
173
|
+
silent: namespace;
|
|
174
|
+
guarded: with default;
|
|
175
|
+
}
|
|
176
|
+
#guarded-deeper {
|
|
177
|
+
should: match 1;
|
|
178
|
+
}
|
|
179
|
+
#parenthesisNot-true {
|
|
180
|
+
parenthesisNot: just-value;
|
|
181
|
+
parenthesisNot: negated twice 1;
|
|
182
|
+
parenthesisNot: negated twice 2;
|
|
183
|
+
parenthesisNot: negated twice 3;
|
|
184
|
+
}
|
|
185
|
+
#parenthesisNot-false {
|
|
186
|
+
parenthesisNot: negated once inside;
|
|
187
|
+
parenthesisNot: negated once outside;
|
|
188
|
+
parenthesisNot: negated once middle;
|
|
189
|
+
}
|
|
190
|
+
#orderOfEvaluation-false-false-true {
|
|
191
|
+
no-parenthesis: evaluated true 1a;
|
|
192
|
+
no-parenthesis: evaluated true 1b;
|
|
193
|
+
no-parenthesis: evaluated true 1d;
|
|
194
|
+
no-parenthesis: evaluated true 3;
|
|
195
|
+
no-parenthesis: evaluated true 4;
|
|
196
|
+
with-parenthesis: evaluated true;
|
|
197
|
+
}
|
|
198
|
+
#orderOfEvaluation-false-false-false {
|
|
199
|
+
no-parenthesis: evaluated true 2a;
|
|
200
|
+
no-parenthesis: evaluated true 2b;
|
|
201
|
+
no-parenthesis: evaluated true 2c;
|
|
202
|
+
}
|
|
203
|
+
#orderOfEvaluation-true-true-false {
|
|
204
|
+
no-parenthesis: evaluated true 1a;
|
|
205
|
+
no-parenthesis: evaluated true 1b;
|
|
206
|
+
no-parenthesis: evaluated true 1c;
|
|
207
|
+
no-parenthesis: evaluated true 1d;
|
|
208
|
+
no-parenthesis: evaluated true 1e;
|
|
209
|
+
no-parenthesis: evaluated true 2a;
|
|
210
|
+
no-parenthesis: evaluated true 2b;
|
|
211
|
+
no-parenthesis: evaluated true 2c;
|
|
212
|
+
no-parenthesis: evaluated true 4;
|
|
213
|
+
with-parenthesis: evaluated true;
|
|
214
|
+
}
|