@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
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
/* Less 4.x output, recorded when this fixture graduated to v5.
|
|
2
|
+
Historical record only — no test reads this file. */
|
|
3
|
+
|
|
4
|
+
guard-default-basic-1-1 {
|
|
5
|
+
case: 1;
|
|
6
|
+
}
|
|
7
|
+
guard-default-basic-1-2 {
|
|
8
|
+
default: 2;
|
|
9
|
+
}
|
|
10
|
+
guard-default-basic-2-0 {
|
|
11
|
+
default: 0;
|
|
12
|
+
}
|
|
13
|
+
guard-default-basic-2-2 {
|
|
14
|
+
case: 2;
|
|
15
|
+
}
|
|
16
|
+
guard-default-basic-3-0 {
|
|
17
|
+
default: 0;
|
|
18
|
+
}
|
|
19
|
+
guard-default-basic-3-2 {
|
|
20
|
+
case: 2;
|
|
21
|
+
}
|
|
22
|
+
guard-default-basic-3-3 {
|
|
23
|
+
case: 3;
|
|
24
|
+
}
|
|
25
|
+
guard-default-definition-order-0 {
|
|
26
|
+
default: 0;
|
|
27
|
+
}
|
|
28
|
+
guard-default-definition-order-2 {
|
|
29
|
+
case: 2;
|
|
30
|
+
}
|
|
31
|
+
guard-default-definition-order-2 {
|
|
32
|
+
case: 3;
|
|
33
|
+
}
|
|
34
|
+
guard-default-out-of-guard-0 {
|
|
35
|
+
case-0: default();
|
|
36
|
+
case-1: 1;
|
|
37
|
+
default: 2;
|
|
38
|
+
case-2: default();
|
|
39
|
+
}
|
|
40
|
+
guard-default-out-of-guard-1 {
|
|
41
|
+
default: default();
|
|
42
|
+
}
|
|
43
|
+
guard-default-out-of-guard-2 {
|
|
44
|
+
default: default();
|
|
45
|
+
}
|
|
46
|
+
guard-default-expr-not-1 {
|
|
47
|
+
case: 1;
|
|
48
|
+
default: 1;
|
|
49
|
+
}
|
|
50
|
+
guard-default-expr-eq-true {
|
|
51
|
+
case: true;
|
|
52
|
+
}
|
|
53
|
+
guard-default-expr-eq-false {
|
|
54
|
+
case: false;
|
|
55
|
+
default: false;
|
|
56
|
+
}
|
|
57
|
+
guard-default-expr-or-1 {
|
|
58
|
+
case: 1;
|
|
59
|
+
}
|
|
60
|
+
guard-default-expr-or-2 {
|
|
61
|
+
case: 2;
|
|
62
|
+
default: 2;
|
|
63
|
+
}
|
|
64
|
+
guard-default-expr-or-3 {
|
|
65
|
+
default: 3;
|
|
66
|
+
}
|
|
67
|
+
guard-default-expr-and-1 {
|
|
68
|
+
case: 1;
|
|
69
|
+
}
|
|
70
|
+
guard-default-expr-and-2 {
|
|
71
|
+
case: 2;
|
|
72
|
+
}
|
|
73
|
+
guard-default-expr-and-3 {
|
|
74
|
+
default: 3;
|
|
75
|
+
}
|
|
76
|
+
guard-default-expr-always-1 {
|
|
77
|
+
case: 1;
|
|
78
|
+
default: 1;
|
|
79
|
+
}
|
|
80
|
+
guard-default-expr-always-2 {
|
|
81
|
+
default: 2;
|
|
82
|
+
}
|
|
83
|
+
guard-default-expr-never-1 {
|
|
84
|
+
case: 1;
|
|
85
|
+
}
|
|
86
|
+
guard-default-multi-1-0 {
|
|
87
|
+
case: 0;
|
|
88
|
+
}
|
|
89
|
+
guard-default-multi-1-1 {
|
|
90
|
+
default-1: 1;
|
|
91
|
+
}
|
|
92
|
+
guard-default-multi-2-1 {
|
|
93
|
+
default-1: no;
|
|
94
|
+
}
|
|
95
|
+
guard-default-multi-2-2 {
|
|
96
|
+
default-2: no;
|
|
97
|
+
}
|
|
98
|
+
guard-default-multi-2-3 {
|
|
99
|
+
default-3: 3;
|
|
100
|
+
}
|
|
101
|
+
guard-default-multi-3-blue {
|
|
102
|
+
case-2: darkblue;
|
|
103
|
+
}
|
|
104
|
+
guard-default-multi-3-green {
|
|
105
|
+
default-color: green;
|
|
106
|
+
}
|
|
107
|
+
guard-default-multi-3-foo {
|
|
108
|
+
case-1: I am 'foo';
|
|
109
|
+
}
|
|
110
|
+
guard-default-multi-3-baz {
|
|
111
|
+
default-string: I am 'baz';
|
|
112
|
+
}
|
|
113
|
+
guard-default-multi-4 {
|
|
114
|
+
always: 1;
|
|
115
|
+
always: 2;
|
|
116
|
+
case: 2;
|
|
117
|
+
}
|
|
118
|
+
guard-default-not-ambiguous-2 {
|
|
119
|
+
case: 1;
|
|
120
|
+
not-default: 2;
|
|
121
|
+
}
|
|
122
|
+
guard-default-not-ambiguous-3 {
|
|
123
|
+
case: 1;
|
|
124
|
+
not-default-1: 2;
|
|
125
|
+
not-default-2: 2;
|
|
126
|
+
}
|
|
127
|
+
guard-default-scopes-3 {
|
|
128
|
+
three: when default;
|
|
129
|
+
}
|
|
130
|
+
guard-default-scopes-1 {
|
|
131
|
+
one: no condition;
|
|
132
|
+
}
|
|
@@ -1,48 +1,62 @@
|
|
|
1
1
|
.class {
|
|
2
2
|
border: 1;
|
|
3
3
|
boxer: 1;
|
|
4
|
+
}
|
|
5
|
+
.class .inner {
|
|
6
|
+
test: 1;
|
|
7
|
+
}
|
|
8
|
+
.class {
|
|
4
9
|
border-width: 1;
|
|
5
10
|
border: 2 !important;
|
|
6
11
|
boxer: 2 !important;
|
|
12
|
+
}
|
|
13
|
+
.class .inner {
|
|
14
|
+
test: 2 !important;
|
|
15
|
+
}
|
|
16
|
+
.class {
|
|
7
17
|
border-width: 2 !important;
|
|
8
18
|
border: 3;
|
|
9
19
|
boxer: 3;
|
|
20
|
+
}
|
|
21
|
+
.class .inner {
|
|
22
|
+
test: 3;
|
|
23
|
+
}
|
|
24
|
+
.class {
|
|
10
25
|
border-width: 3;
|
|
11
26
|
border: 4 !important;
|
|
12
27
|
boxer: 4 !important;
|
|
28
|
+
}
|
|
29
|
+
.class .inner {
|
|
30
|
+
test: 4 !important;
|
|
31
|
+
}
|
|
32
|
+
.class {
|
|
13
33
|
border-width: 4 !important;
|
|
14
34
|
border: 5;
|
|
15
35
|
boxer: 5;
|
|
36
|
+
}
|
|
37
|
+
.class .inner {
|
|
38
|
+
test: 5;
|
|
39
|
+
}
|
|
40
|
+
.class {
|
|
16
41
|
border-width: 5;
|
|
17
42
|
border: 0 !important;
|
|
18
43
|
boxer: 0 !important;
|
|
44
|
+
}
|
|
45
|
+
.class .inner {
|
|
46
|
+
test: 0 !important;
|
|
47
|
+
}
|
|
48
|
+
.class {
|
|
19
49
|
border-width: 0 !important;
|
|
20
50
|
border: 9 !important;
|
|
21
51
|
border: 9;
|
|
22
52
|
boxer: 9;
|
|
23
|
-
border-width: 9;
|
|
24
|
-
}
|
|
25
|
-
.class .inner {
|
|
26
|
-
test: 1;
|
|
27
|
-
}
|
|
28
|
-
.class .inner {
|
|
29
|
-
test: 2 !important;
|
|
30
|
-
}
|
|
31
|
-
.class .inner {
|
|
32
|
-
test: 3;
|
|
33
|
-
}
|
|
34
|
-
.class .inner {
|
|
35
|
-
test: 4 !important;
|
|
36
|
-
}
|
|
37
|
-
.class .inner {
|
|
38
|
-
test: 5;
|
|
39
|
-
}
|
|
40
|
-
.class .inner {
|
|
41
|
-
test: 0 !important;
|
|
42
53
|
}
|
|
43
54
|
.class .inner {
|
|
44
55
|
test: 9;
|
|
45
56
|
}
|
|
57
|
+
.class {
|
|
58
|
+
border-width: 9;
|
|
59
|
+
}
|
|
46
60
|
.when-calling-nested-issue-2394 {
|
|
47
61
|
width: auto !important;
|
|
48
62
|
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/* Less 4.x output, recorded when this fixture graduated to v5.
|
|
2
|
+
Historical record only — no test reads this file. */
|
|
3
|
+
|
|
4
|
+
.\123 {
|
|
5
|
+
a: 0;
|
|
6
|
+
}
|
|
7
|
+
.foo {
|
|
8
|
+
a: 1;
|
|
9
|
+
a: 2;
|
|
10
|
+
}
|
|
11
|
+
#foo {
|
|
12
|
+
a: 3;
|
|
13
|
+
a: 4;
|
|
14
|
+
}
|
|
15
|
+
mi-test-a {
|
|
16
|
+
a: 0;
|
|
17
|
+
a: 1;
|
|
18
|
+
a: 2;
|
|
19
|
+
a: 3;
|
|
20
|
+
a: 4;
|
|
21
|
+
}
|
|
22
|
+
.b .bb.foo-xxx .yyy-foo#foo .foo.bbb {
|
|
23
|
+
b: 1;
|
|
24
|
+
}
|
|
25
|
+
mi-test-b {
|
|
26
|
+
b: 1;
|
|
27
|
+
}
|
|
28
|
+
#foo-foo > .bar .baz {
|
|
29
|
+
c: c;
|
|
30
|
+
}
|
|
31
|
+
mi-test-c-1 > .bar .baz {
|
|
32
|
+
c: c;
|
|
33
|
+
}
|
|
34
|
+
mi-test-c-2 .baz {
|
|
35
|
+
c: c;
|
|
36
|
+
}
|
|
37
|
+
mi-test-c-3 {
|
|
38
|
+
c: c;
|
|
39
|
+
}
|
|
40
|
+
mi-test-d {
|
|
41
|
+
gender: "Male";
|
|
42
|
+
}
|
|
@@ -3,14 +3,10 @@
|
|
|
3
3
|
}
|
|
4
4
|
.foo {
|
|
5
5
|
a: 1;
|
|
6
|
-
}
|
|
7
|
-
.foo {
|
|
8
6
|
a: 2;
|
|
9
7
|
}
|
|
10
8
|
#foo {
|
|
11
9
|
a: 3;
|
|
12
|
-
}
|
|
13
|
-
#foo {
|
|
14
10
|
a: 4;
|
|
15
11
|
}
|
|
16
12
|
mi-test-a {
|
|
@@ -20,20 +16,34 @@ mi-test-a {
|
|
|
20
16
|
a: 3;
|
|
21
17
|
a: 4;
|
|
22
18
|
}
|
|
23
|
-
.b .bb
|
|
24
|
-
|
|
19
|
+
.b .bb {
|
|
20
|
+
&.foo-xxx .yyy-foo#foo {
|
|
21
|
+
& .foo.bbb {
|
|
22
|
+
b: 1;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
25
|
}
|
|
26
26
|
mi-test-b {
|
|
27
27
|
b: 1;
|
|
28
28
|
}
|
|
29
|
-
#foo-foo
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
|
|
29
|
+
#foo-foo {
|
|
30
|
+
> .bar {
|
|
31
|
+
.baz {
|
|
32
|
+
c: c;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
mi-test-c-1 {
|
|
37
|
+
> .bar {
|
|
38
|
+
.baz {
|
|
39
|
+
c: c;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
mi-test-c-2 {
|
|
44
|
+
.baz {
|
|
45
|
+
c: c;
|
|
46
|
+
}
|
|
37
47
|
}
|
|
38
48
|
mi-test-c-3 {
|
|
39
49
|
c: c;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/* Less 4.x output, recorded when this fixture graduated to v5.
|
|
2
|
+
Historical record only — no test reads this file. */
|
|
3
|
+
|
|
4
|
+
.class .inner {
|
|
5
|
+
height: 300;
|
|
6
|
+
}
|
|
7
|
+
.class .inner .innest {
|
|
8
|
+
width: 30;
|
|
9
|
+
border-width: 60;
|
|
10
|
+
}
|
|
11
|
+
.class2 .inner {
|
|
12
|
+
height: 600;
|
|
13
|
+
}
|
|
14
|
+
.class2 .inner .innest {
|
|
15
|
+
width: 60;
|
|
16
|
+
border-width: 120;
|
|
17
|
+
}
|
|
@@ -1,14 +1,18 @@
|
|
|
1
|
-
.class
|
|
2
|
-
|
|
1
|
+
.class {
|
|
2
|
+
.inner {
|
|
3
|
+
height: 300;
|
|
4
|
+
.innest {
|
|
5
|
+
width: 30;
|
|
6
|
+
border-width: 60;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
3
9
|
}
|
|
4
|
-
.
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
width: 60;
|
|
13
|
-
border-width: 120;
|
|
10
|
+
.class2 {
|
|
11
|
+
.inner {
|
|
12
|
+
height: 600;
|
|
13
|
+
.innest {
|
|
14
|
+
width: 60;
|
|
15
|
+
border-width: 120;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
14
18
|
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/* Less 4.x output, recorded when this fixture graduated to v5.
|
|
2
|
+
Historical record only — no test reads this file. */
|
|
3
|
+
|
|
4
|
+
.nesting-parent {
|
|
5
|
+
color: red;
|
|
6
|
+
}
|
|
7
|
+
.nesting-parent .nesting-child {
|
|
8
|
+
color: blue;
|
|
9
|
+
}
|
|
10
|
+
.nesting-parent .nesting-child .nesting-grandchild {
|
|
11
|
+
color: green;
|
|
12
|
+
}
|
|
13
|
+
.nesting-parent:hover {
|
|
14
|
+
color: orange;
|
|
15
|
+
}
|
|
16
|
+
.nesting-parent.modifier {
|
|
17
|
+
color: purple;
|
|
18
|
+
}
|
|
19
|
+
.correctly-exit-calc-mode h2 {
|
|
20
|
+
width: 10px;
|
|
21
|
+
}
|
|
22
|
+
.correctly-exit-calc-mode div {
|
|
23
|
+
width: calc(100px * 2);
|
|
24
|
+
}
|
|
25
|
+
.correctly-exit-calc-mode h1 {
|
|
26
|
+
color: white;
|
|
27
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
.nesting-parent {
|
|
2
|
+
color: red;
|
|
3
|
+
.nesting-child {
|
|
4
|
+
color: blue;
|
|
5
|
+
.nesting-grandchild {
|
|
6
|
+
color: green;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
&:hover {
|
|
10
|
+
color: orange;
|
|
11
|
+
}
|
|
12
|
+
&.modifier {
|
|
13
|
+
color: purple;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
.correctly-exit-calc-mode {
|
|
17
|
+
h2 {
|
|
18
|
+
width: 10px;
|
|
19
|
+
}
|
|
20
|
+
div {
|
|
21
|
+
width: 200px;
|
|
22
|
+
}
|
|
23
|
+
h1 {
|
|
24
|
+
color: white;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -3,13 +3,15 @@
|
|
|
3
3
|
color-2: #f8f800;
|
|
4
4
|
height: 9px;
|
|
5
5
|
width: 3em;
|
|
6
|
-
subtraction: 0;
|
|
7
|
-
division: 1;
|
|
8
6
|
}
|
|
9
7
|
#operations .spacing {
|
|
10
8
|
height: 9px;
|
|
11
9
|
width: 3em;
|
|
12
10
|
}
|
|
11
|
+
#operations {
|
|
12
|
+
subtraction: 0;
|
|
13
|
+
division: 1;
|
|
14
|
+
}
|
|
13
15
|
.with-variables {
|
|
14
16
|
height: 16em;
|
|
15
17
|
width: 24em;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/* Less 4.x output, recorded when this fixture graduated to v5.
|
|
2
|
+
Historical record only — no test reads this file. */
|
|
3
|
+
|
|
4
|
+
input[type=text]:focus,
|
|
5
|
+
input[type=email]:focus,
|
|
6
|
+
input[type=password]:focus,
|
|
7
|
+
textarea:focus {
|
|
8
|
+
foo: bar;
|
|
9
|
+
}
|
|
10
|
+
.a + .z,
|
|
11
|
+
.b + .z,
|
|
12
|
+
.c + .z {
|
|
13
|
+
color: blue;
|
|
14
|
+
}
|
|
15
|
+
.bar .d.a,
|
|
16
|
+
.bar .b,
|
|
17
|
+
.c.bar:hover,
|
|
18
|
+
.bar baz {
|
|
19
|
+
color: blue;
|
|
20
|
+
}
|
|
21
|
+
.a + .e,
|
|
22
|
+
.b.c + .e,
|
|
23
|
+
.d + .e {
|
|
24
|
+
foo: bar;
|
|
25
|
+
}
|
|
26
|
+
input[class="text"],
|
|
27
|
+
input.text {
|
|
28
|
+
background: red;
|
|
29
|
+
}
|
|
30
|
+
.master-page-1 .selector-1,
|
|
31
|
+
.master-page-1 .selector-2 {
|
|
32
|
+
background-color: red;
|
|
33
|
+
}
|
|
34
|
+
.fruit-apple,
|
|
35
|
+
.fruit-satsuma,
|
|
36
|
+
.fruit-banana,
|
|
37
|
+
.fruit-pear {
|
|
38
|
+
content: "Just a test.";
|
|
39
|
+
}
|
|
@@ -1,36 +1,73 @@
|
|
|
1
|
-
input[type=text]
|
|
2
|
-
input[type=email]
|
|
3
|
-
input[type=password]
|
|
4
|
-
textarea
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
.
|
|
15
|
-
.
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
.
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
}
|
|
31
|
-
.
|
|
32
|
-
.
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
1
|
+
input[type=text],
|
|
2
|
+
input[type=email],
|
|
3
|
+
input[type=password],
|
|
4
|
+
textarea {
|
|
5
|
+
&:focus {
|
|
6
|
+
foo: bar;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
input[type=text], input[type=email], input[type=password], textarea {
|
|
10
|
+
&:focus {
|
|
11
|
+
foo: baz;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
.a,
|
|
15
|
+
.b,
|
|
16
|
+
.c {
|
|
17
|
+
+ .z-cap {
|
|
18
|
+
color: blue;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
.a, .b, .c {
|
|
22
|
+
+ .z-quoted {
|
|
23
|
+
color: green;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
.bar {
|
|
27
|
+
.d:is(.a, .b, .c)&:hover, baz-cap {
|
|
28
|
+
color: blue;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
.bar2 {
|
|
32
|
+
.q:is(.a, .b, .c)&:hover, baz-quoted {
|
|
33
|
+
color: green;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
:is(.a, .b):is(.c, .d) {
|
|
37
|
+
+ .e-cap {
|
|
38
|
+
foo: bar;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
:is(.a, .b):is(.c, .d) {
|
|
42
|
+
+ .e-quoted {
|
|
43
|
+
foo: bar;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
input.cap {
|
|
47
|
+
&[class="text"],
|
|
48
|
+
&.text {
|
|
49
|
+
background: red;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
input.quoted {
|
|
53
|
+
&[class="text"], &.text {
|
|
54
|
+
background: blue;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
.master-page-cap {
|
|
58
|
+
.selector-1,
|
|
59
|
+
.selector-2 {
|
|
60
|
+
background-color: red;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
.master-page-quoted {
|
|
64
|
+
.selector-1, .selector-2 {
|
|
65
|
+
background-color: blue;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
.fruit-cap-apple,
|
|
69
|
+
.fruit-cap-satsuma,
|
|
70
|
+
.fruit-cap-banana,
|
|
71
|
+
.fruit-cap-pear {
|
|
72
|
+
content: "Capture";
|
|
36
73
|
}
|