@less/test-data 4.9.1 → 5.0.0-alpha.10
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/bootstrap4.css +182 -365
- package/tests-config/3rd-party/styles.config.cjs +1 -1
- package/tests-config/at-rules-compressed/at-rules-compressed.css +1 -1
- package/tests-config/at-rules-compressed-evaluation/at-rules-compressed-evaluation.css +1 -1
- package/tests-config/compression/compression.css +2 -2
- package/tests-config/compression/compression.less +0 -4
- 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/js-type-errors/js-type-error-2.txt +4 -0
- package/tests-config/js-type-errors/js-type-error.txt +1 -1
- 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/sourcemaps/styles.config.cjs +1 -1
- package/tests-config/sourcemaps-variable-selector/styles.config.cjs +1 -1
- package/tests-config/static-urls/urls.css +2 -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-config/units/loose/loose.css +21 -0
- package/tests-config/units/loose/loose.less +21 -0
- package/tests-config/units/loose/styles.config.cjs +8 -0
- package/tests-config/units/no-strict/legacy/no-strict.css +24 -0
- package/tests-config/units/no-strict/no-strict.css +12 -12
- package/tests-config/url-args/legacy/urls.css +58 -0
- package/tests-config/url-args/urls.css +2 -1
- 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-error/eval/property-undefined.txt +1 -0
- package/tests-error/eval/recursive-property.txt +1 -0
- package/tests-unit/at-rule-variable-deprecated/at-rule-variable-deprecated.css +0 -38
- package/tests-unit/at-rule-variable-deprecated/at-rule-variable-deprecated.less +0 -70
- 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.css +1 -1
- 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/detached-rulesets/styles.config.cjs +8 -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 +13 -24
- package/tests-unit/functions/functions.less +8 -21
- 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/import-reference.less +1 -1
- package/tests-unit/import/import-reference-issues.css +6 -6
- package/tests-unit/import/import-reference.css +9 -5
- package/tests-unit/import/import.css +1 -1
- 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 +3 -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 +3 -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 +21 -5
- 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/legacy/operations-advanced.css +36 -0
- package/tests-unit/operations/operations-advanced.css +1 -1
- 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/scope/styles.config.cjs +8 -0
- 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 +15 -18
- package/tests-unit/variables/variable-advanced.less +5 -4
- package/tests-unit/variables/variables.css +1 -1
- 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-config/rootpath-escape-interpolation/rootpath-escape-interpolation.css +0 -8
- package/tests-config/rootpath-escape-interpolation/rootpath-escape-interpolation.less +0 -24
- package/tests-config/rootpath-escape-interpolation/styles.config.cjs +0 -8
- package/tests-config/sourcemaps/url-interpolation/styles.config.cjs +0 -9
- package/tests-config/sourcemaps/url-interpolation/url-interpolation.css +0 -13
- package/tests-config/sourcemaps/url-interpolation/url-interpolation.less +0 -24
- package/tests-error/eval/mixin-as-value.less +0 -6
- package/tests-error/eval/mixin-as-value.txt +0 -4
- package/tests-error/parse/property-interpolation-lookup.less +0 -8
- package/tests-error/parse/property-interpolation-lookup.txt +0 -4
- package/tests-unit/extend/extend-clearfix.less +0 -19
- package/tests-unit/lookup-interpolation/lookup-interpolation.css +0 -60
- package/tests-unit/lookup-interpolation/lookup-interpolation.less +0 -127
- package/tests-unit/media-nested-type/media-nested-type.css +0 -40
- package/tests-unit/media-nested-type/media-nested-type.less +0 -51
- /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,147 @@
|
|
|
1
|
+
/* Less 4.x output, recorded when this fixture graduated to v5.
|
|
2
|
+
Historical record only — no test reads this file. */
|
|
3
|
+
|
|
4
|
+
@namespace foo url(http://www.example.com);
|
|
5
|
+
.comma-delimited {
|
|
6
|
+
text-shadow: -1px -1px 1px red, 6px 5px 5px yellow;
|
|
7
|
+
-moz-box-shadow: 0pt 0pt 2px rgba(255, 255, 255, 0.4) inset, 0pt 4px 6px rgba(255, 255, 255, 0.4) inset;
|
|
8
|
+
-webkit-transform: rotate(0deg);
|
|
9
|
+
}
|
|
10
|
+
@font-face {
|
|
11
|
+
font-family: Headline;
|
|
12
|
+
unicode-range: U+??????, U+0???, U+0-7F, U+A5;
|
|
13
|
+
}
|
|
14
|
+
.other {
|
|
15
|
+
-moz-transform: translate(0, 11em) rotate(-90deg);
|
|
16
|
+
transform: rotateX(45deg);
|
|
17
|
+
}
|
|
18
|
+
.item[data-cra_zy-attr1b-ut3=bold] {
|
|
19
|
+
font-weight: bold;
|
|
20
|
+
}
|
|
21
|
+
p:not([class*="lead"]) {
|
|
22
|
+
color: black;
|
|
23
|
+
}
|
|
24
|
+
input[type="text"].class#id[attr=i32]:not(.one) {
|
|
25
|
+
color: inherit;
|
|
26
|
+
}
|
|
27
|
+
div#id.class[a=one][b=two].class:not(.one) {
|
|
28
|
+
color: inherit;
|
|
29
|
+
}
|
|
30
|
+
ul.comma > li:not(:only-child)::after {
|
|
31
|
+
color: inherit;
|
|
32
|
+
}
|
|
33
|
+
ol.comma > li:nth-last-child(2)::after {
|
|
34
|
+
color: inherit;
|
|
35
|
+
}
|
|
36
|
+
li:nth-child(4n+1),
|
|
37
|
+
li:nth-child(-5n),
|
|
38
|
+
li:nth-child(-n+2) {
|
|
39
|
+
color: inherit;
|
|
40
|
+
}
|
|
41
|
+
a[href^="http://"] {
|
|
42
|
+
color: black;
|
|
43
|
+
}
|
|
44
|
+
a[href$="http://"] {
|
|
45
|
+
color: black;
|
|
46
|
+
}
|
|
47
|
+
form[data-disabled] {
|
|
48
|
+
color: black;
|
|
49
|
+
}
|
|
50
|
+
p::before {
|
|
51
|
+
color: black;
|
|
52
|
+
}
|
|
53
|
+
#issue322 {
|
|
54
|
+
-webkit-animation: anim2 7s infinite ease-in-out;
|
|
55
|
+
}
|
|
56
|
+
@-webkit-keyframes frames {
|
|
57
|
+
0% {
|
|
58
|
+
border: 1px;
|
|
59
|
+
}
|
|
60
|
+
5.5% {
|
|
61
|
+
border: 2px;
|
|
62
|
+
}
|
|
63
|
+
100% {
|
|
64
|
+
border: 3px;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
@keyframes fontbulger1 {
|
|
68
|
+
to {
|
|
69
|
+
font-size: 15px;
|
|
70
|
+
}
|
|
71
|
+
from,
|
|
72
|
+
to {
|
|
73
|
+
font-size: 12px;
|
|
74
|
+
}
|
|
75
|
+
0%,
|
|
76
|
+
100% {
|
|
77
|
+
font-size: 12px;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
@supports ( box-shadow: 2px 2px 2px black ) or
|
|
81
|
+
( -moz-box-shadow: 2px 2px 2px black ) {
|
|
82
|
+
.outline {
|
|
83
|
+
box-shadow: 2px 2px 2px black;
|
|
84
|
+
-moz-box-shadow: 2px 2px 2px black;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
@-x-document url-prefix(""github.com"") {
|
|
88
|
+
h1 {
|
|
89
|
+
color: red;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
@viewport {
|
|
93
|
+
font-size: 10px;
|
|
94
|
+
}
|
|
95
|
+
foo|h1 {
|
|
96
|
+
color: blue;
|
|
97
|
+
}
|
|
98
|
+
foo|* {
|
|
99
|
+
color: yellow;
|
|
100
|
+
}
|
|
101
|
+
*|h1 {
|
|
102
|
+
color: green;
|
|
103
|
+
}
|
|
104
|
+
h1 {
|
|
105
|
+
color: green;
|
|
106
|
+
}
|
|
107
|
+
.upper-test {
|
|
108
|
+
UpperCaseProperties: allowed;
|
|
109
|
+
}
|
|
110
|
+
@host {
|
|
111
|
+
div {
|
|
112
|
+
display: block;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
:not(input::placeholder) {
|
|
116
|
+
color: #b3b3b3;
|
|
117
|
+
}
|
|
118
|
+
.shadow > .dom,
|
|
119
|
+
body > .shadow {
|
|
120
|
+
display: done;
|
|
121
|
+
}
|
|
122
|
+
:host(.sel.a),
|
|
123
|
+
:host-context(.sel.b),
|
|
124
|
+
.sel > .b,
|
|
125
|
+
::content .sel {
|
|
126
|
+
type: shadow-dom;
|
|
127
|
+
}
|
|
128
|
+
* b {
|
|
129
|
+
c: 'd';
|
|
130
|
+
}
|
|
131
|
+
* b[e] {
|
|
132
|
+
f: 'g';
|
|
133
|
+
}
|
|
134
|
+
#issue2066 {
|
|
135
|
+
background: url('/images/icon-team.svg') 0 0 / contain;
|
|
136
|
+
}
|
|
137
|
+
@counter-style triangle {
|
|
138
|
+
system: cyclic;
|
|
139
|
+
symbols: ‣;
|
|
140
|
+
suffix: " ";
|
|
141
|
+
}
|
|
142
|
+
@unknown foo 42 (bar) {
|
|
143
|
+
x {
|
|
144
|
+
y: z;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
@unknown foo 43;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/* Less 4.x output, recorded when this fixture graduated to v5.
|
|
2
|
+
Historical record only — no test reads this file. */
|
|
3
|
+
|
|
4
|
+
.escape\|random\|char {
|
|
5
|
+
color: red;
|
|
6
|
+
}
|
|
7
|
+
.mixin\!tUp {
|
|
8
|
+
font-weight: bold;
|
|
9
|
+
}
|
|
10
|
+
.\34 04 {
|
|
11
|
+
background: red;
|
|
12
|
+
}
|
|
13
|
+
.\34 04 strong {
|
|
14
|
+
color: fuchsia;
|
|
15
|
+
font-weight: bold;
|
|
16
|
+
}
|
|
17
|
+
.trailingTest\+ {
|
|
18
|
+
color: red;
|
|
19
|
+
}
|
|
20
|
+
/* This hideous test of hideousness checks for the selector "blockquote" with various permutations of hex escapes */
|
|
21
|
+
\62\6c\6f \63 \6B \0071 \000075o\74 e {
|
|
22
|
+
color: silver;
|
|
23
|
+
}
|
|
24
|
+
[ng\:cloak],
|
|
25
|
+
ng\:form {
|
|
26
|
+
display: none;
|
|
27
|
+
}
|
|
28
|
+
.bootstrap {
|
|
29
|
+
background-color: #000 \9;
|
|
30
|
+
}
|
|
31
|
+
textarea {
|
|
32
|
+
font-family: 'helvetica neue', 'wenquanyi micro hei', \5FAE\8F6F\96C5\9ED1, \5B8B\4F53, sans-serif;
|
|
33
|
+
}
|
|
34
|
+
/* anything to unquote */
|
|
@@ -20,5 +20,8 @@
|
|
|
20
20
|
display: grid;
|
|
21
21
|
grid-template-columns: 9fr 1.875em 3fr;
|
|
22
22
|
grid-template-rows: auto;
|
|
23
|
-
grid-template-areas:
|
|
23
|
+
grid-template-areas:
|
|
24
|
+
"header header header"
|
|
25
|
+
"content . sidebar"
|
|
26
|
+
"footer footer footer";
|
|
24
27
|
}
|
|
@@ -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
|
+
.wrapper {
|
|
5
|
+
display: grid;
|
|
6
|
+
grid-template-columns: [col1-start] 9fr [col1-end] 10px [col2-start] 3fr [col2-end];
|
|
7
|
+
grid-template-rows: auto;
|
|
8
|
+
}
|
|
9
|
+
.wrapper {
|
|
10
|
+
display: grid;
|
|
11
|
+
grid-template-columns: [left-bound] auto [container-left] 1170px [container-right] auto [right-bound];
|
|
12
|
+
grid-template-rows: [row-1-start] 140px [row-2-start] 390px [row-3-start] 200px [row-4-start] 120px [row-5-start] 120px [row-6-start] 120px;
|
|
13
|
+
}
|
|
14
|
+
.container-12 {
|
|
15
|
+
z-index: 20;
|
|
16
|
+
display: grid;
|
|
17
|
+
grid-column: container-left / span 1;
|
|
18
|
+
grid-row: 2;
|
|
19
|
+
grid-template-columns: [wrapcol-1-start] 1fr [wrapcol-1-end] 15px [wrapcol-2-start] 1fr [wrapcol-2-end] 15px [wrapcol-3-start] 1fr [wrapcol-3-end] 15px [wrapcol-4-start] 1fr [wrapcol-4-end] 15px [wrapcol-5-start] 1fr [wrapcol-5-end] 15px [wrapcol-6-start] 1fr [wrapcol-6-end] 15px [wrapcol-7-start] 1fr [wrapcol-7-end] 15px [wrapcol-8-start] 1fr [wrapcol-8-end] 15px [wrapcol-9-start] 1fr [wrapcol-9-end] 15px [wrapcol-10-start] 1fr [wrapcol-10-end] 15px [wrapcol-11-start] 1fr [wrapcol-11-end] 15px [wrapcol-12-start] 1fr [wrapcol-12-end];
|
|
20
|
+
grid-template-rows: repeat(14, [gutter] 10px [row] 60px);
|
|
21
|
+
}
|
|
22
|
+
.wrapper {
|
|
23
|
+
display: grid;
|
|
24
|
+
grid-template-columns: 9fr 1.875em 3fr;
|
|
25
|
+
grid-template-rows: auto;
|
|
26
|
+
grid-template-areas: "header header header" "content . sidebar" "footer footer footer";
|
|
27
|
+
}
|
|
@@ -29,14 +29,16 @@ html.lt-ie9 header {
|
|
|
29
29
|
}
|
|
30
30
|
.wrap-selector {
|
|
31
31
|
test: extra-wrap;
|
|
32
|
-
visible-one: visible;
|
|
33
|
-
visible-two: visible;
|
|
34
32
|
}
|
|
35
33
|
.wrap-selector .wrap-selector {
|
|
36
34
|
test: wrapped-twice;
|
|
37
35
|
visible-one: visible;
|
|
38
36
|
visible-two: visible;
|
|
39
37
|
}
|
|
38
|
+
.wrap-selector {
|
|
39
|
+
visible-one: visible;
|
|
40
|
+
visible-two: visible;
|
|
41
|
+
}
|
|
40
42
|
.wrap-selector {
|
|
41
43
|
test-func: 90;
|
|
42
44
|
test-arithmetic: 18px;
|
|
@@ -46,24 +48,30 @@ html.lt-ie9 header {
|
|
|
46
48
|
.without-mixins {
|
|
47
49
|
b: 1;
|
|
48
50
|
}
|
|
49
|
-
@media (orientation: portrait)
|
|
50
|
-
|
|
51
|
-
|
|
51
|
+
@media (orientation: portrait) {
|
|
52
|
+
@media (tv) {
|
|
53
|
+
.my-selector {
|
|
54
|
+
background-color: black;
|
|
55
|
+
}
|
|
52
56
|
}
|
|
53
|
-
|
|
54
|
-
@media (
|
|
55
|
-
|
|
56
|
-
|
|
57
|
+
@media (widescreen) {
|
|
58
|
+
@media (print) {
|
|
59
|
+
@media (tv) {
|
|
60
|
+
.triple-wrapped-mq {
|
|
61
|
+
triple: true;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
@media (tv) {
|
|
66
|
+
.triple-wrapped-mq {
|
|
67
|
+
triple: true;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
57
70
|
}
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
@media (orientation: portrait) and (tv) {
|
|
65
|
-
.triple-wrapped-mq {
|
|
66
|
-
triple: true;
|
|
71
|
+
@media (tv) {
|
|
72
|
+
.triple-wrapped-mq {
|
|
73
|
+
triple: true;
|
|
74
|
+
}
|
|
67
75
|
}
|
|
68
76
|
}
|
|
69
77
|
.a {
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
/* Less 4.x output, recorded when this fixture graduated to v5.
|
|
2
|
+
Historical record only — no test reads this file. */
|
|
3
|
+
|
|
4
|
+
.wrap-selector {
|
|
5
|
+
color: black;
|
|
6
|
+
one: 1px;
|
|
7
|
+
four: magic-frame;
|
|
8
|
+
visible-one: visible;
|
|
9
|
+
visible-two: visible;
|
|
10
|
+
}
|
|
11
|
+
.wrap-selector {
|
|
12
|
+
color: red;
|
|
13
|
+
visible-one: visible;
|
|
14
|
+
visible-two: visible;
|
|
15
|
+
}
|
|
16
|
+
.wrap-selector {
|
|
17
|
+
color: black;
|
|
18
|
+
background: white;
|
|
19
|
+
visible-one: visible;
|
|
20
|
+
visible-two: visible;
|
|
21
|
+
}
|
|
22
|
+
header {
|
|
23
|
+
background: blue;
|
|
24
|
+
}
|
|
25
|
+
@media screen and (min-width: 1200) {
|
|
26
|
+
header {
|
|
27
|
+
background: red;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
html.lt-ie9 header {
|
|
31
|
+
background: red;
|
|
32
|
+
}
|
|
33
|
+
.wrap-selector {
|
|
34
|
+
test: extra-wrap;
|
|
35
|
+
visible-one: visible;
|
|
36
|
+
visible-two: visible;
|
|
37
|
+
}
|
|
38
|
+
.wrap-selector .wrap-selector {
|
|
39
|
+
test: wrapped-twice;
|
|
40
|
+
visible-one: visible;
|
|
41
|
+
visible-two: visible;
|
|
42
|
+
}
|
|
43
|
+
.wrap-selector {
|
|
44
|
+
test-func: 90;
|
|
45
|
+
test-arithmetic: 18px;
|
|
46
|
+
visible-one: visible;
|
|
47
|
+
visible-two: visible;
|
|
48
|
+
}
|
|
49
|
+
.without-mixins {
|
|
50
|
+
b: 1;
|
|
51
|
+
}
|
|
52
|
+
@media (orientation: portrait) and (tv) {
|
|
53
|
+
.my-selector {
|
|
54
|
+
background-color: black;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
@media (orientation: portrait) and (widescreen) and (print) and (tv) {
|
|
58
|
+
.triple-wrapped-mq {
|
|
59
|
+
triple: true;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
@media (orientation: portrait) and (widescreen) and (tv) {
|
|
63
|
+
.triple-wrapped-mq {
|
|
64
|
+
triple: true;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
@media (orientation: portrait) and (tv) {
|
|
68
|
+
.triple-wrapped-mq {
|
|
69
|
+
triple: true;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
.a {
|
|
73
|
+
test: test;
|
|
74
|
+
}
|
|
75
|
+
.argument-default {
|
|
76
|
+
default: works;
|
|
77
|
+
direct: works;
|
|
78
|
+
named: works;
|
|
79
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
module.exports = {
|
|
2
|
+
compile: {
|
|
3
|
+
// [jess R16] this fixture exercises the legacy Less caller-scope read
|
|
4
|
+
// (a mixin/detached-ruleset body reading a caller-local variable), which is
|
|
5
|
+
// OFF by default in jess v5; opt in so the fixture keeps its Less-4.x behavior.
|
|
6
|
+
allowCallerScope: true
|
|
7
|
+
}
|
|
8
|
+
};
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
@supports (property: value) {
|
|
37
37
|
@media (max-size: 2px) {
|
|
38
38
|
@supports (whatever: something) {
|
|
39
|
-
.outOfMedia
|
|
39
|
+
.outOfMedia {
|
|
40
40
|
property: value;
|
|
41
41
|
}
|
|
42
42
|
}
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
@supports (property: value) {
|
|
46
46
|
@media (max-size: 2px) {
|
|
47
47
|
@supports (whatever: something) {
|
|
48
|
-
.onTop
|
|
48
|
+
.onTop {
|
|
49
49
|
property: value;
|
|
50
50
|
}
|
|
51
51
|
}
|
|
@@ -77,14 +77,16 @@
|
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
|
-
@media print
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
@supports (
|
|
86
|
-
|
|
87
|
-
|
|
80
|
+
@media print {
|
|
81
|
+
@media (max-size: 2px) {
|
|
82
|
+
.in1 {
|
|
83
|
+
stay: here;
|
|
84
|
+
}
|
|
85
|
+
@supports not (-webkit-font-smoothing: subpixel-antialiased) {
|
|
86
|
+
@supports (whatever: something) {
|
|
87
|
+
.in2 .in1 {
|
|
88
|
+
property: value;
|
|
89
|
+
}
|
|
88
90
|
}
|
|
89
91
|
}
|
|
90
92
|
}
|
|
@@ -101,10 +103,6 @@ html {
|
|
|
101
103
|
property: value;
|
|
102
104
|
}
|
|
103
105
|
}
|
|
104
|
-
.onTop {
|
|
105
|
-
animation: "textscale";
|
|
106
|
-
font-family: something;
|
|
107
|
-
}
|
|
108
106
|
@font-face {
|
|
109
107
|
font-family: something;
|
|
110
108
|
src: made-up-url;
|
|
@@ -117,3 +115,7 @@ html {
|
|
|
117
115
|
font-size: 2em;
|
|
118
116
|
}
|
|
119
117
|
}
|
|
118
|
+
.onTop {
|
|
119
|
+
animation: "textscale";
|
|
120
|
+
font-family: something;
|
|
121
|
+
}
|
|
@@ -3,34 +3,22 @@
|
|
|
3
3
|
border: 1px #f00;
|
|
4
4
|
background: #fdd;
|
|
5
5
|
}
|
|
6
|
-
.error.intrusion
|
|
7
|
-
.badError.intrusion {
|
|
6
|
+
:is(.error, .badError).intrusion {
|
|
8
7
|
font-size: 1.3em;
|
|
9
8
|
font-weight: bold;
|
|
10
9
|
}
|
|
11
|
-
.intrusion .error,
|
|
12
|
-
.intrusion .badError {
|
|
10
|
+
.intrusion :is(.error, .badError) {
|
|
13
11
|
display: none;
|
|
14
12
|
}
|
|
15
13
|
.badError {
|
|
16
14
|
border-width: 3px;
|
|
17
15
|
}
|
|
18
|
-
.foo .bar,
|
|
19
|
-
.foo .baz
|
|
20
|
-
.ext1 .ext2 .bar,
|
|
21
|
-
.ext1 .ext2 .baz,
|
|
22
|
-
.ext3 .bar,
|
|
23
|
-
.ext3 .baz,
|
|
24
|
-
.foo .ext3,
|
|
25
|
-
.ext4 .bar,
|
|
26
|
-
.ext4 .baz,
|
|
27
|
-
.foo .ext4 {
|
|
16
|
+
:is(.foo, .ext1 .ext2, .ext3, .ext4) :is(.bar, .ext3, .ext4),
|
|
17
|
+
:is(.foo, .ext1 .ext2, .ext3, .ext4) .baz {
|
|
28
18
|
display: none;
|
|
29
19
|
}
|
|
30
|
-
div.ext5,
|
|
31
|
-
.ext6 > .ext5,
|
|
32
|
-
div.ext7,
|
|
33
|
-
.ext6 > .ext7 {
|
|
20
|
+
div:is(.ext5, .ext7),
|
|
21
|
+
.ext6 > :is(.ext5, .ext7) {
|
|
34
22
|
width: 100px;
|
|
35
23
|
}
|
|
36
24
|
.ext8.ext9,
|
|
@@ -56,21 +44,27 @@ div.ext7,
|
|
|
56
44
|
.fuu {
|
|
57
45
|
result: match-nested-foo;
|
|
58
46
|
}
|
|
59
|
-
.aa
|
|
60
|
-
.cc {
|
|
47
|
+
.aa {
|
|
61
48
|
color: black;
|
|
49
|
+
.dd,
|
|
50
|
+
.ee {
|
|
51
|
+
background: red;
|
|
52
|
+
}
|
|
62
53
|
}
|
|
63
|
-
.
|
|
64
|
-
|
|
65
|
-
background: red;
|
|
54
|
+
.cc {
|
|
55
|
+
color: black;
|
|
66
56
|
}
|
|
67
57
|
.bb,
|
|
68
|
-
.cc,
|
|
69
|
-
.ee,
|
|
70
58
|
.ff {
|
|
71
59
|
background: red;
|
|
60
|
+
.bb,
|
|
61
|
+
.ff {
|
|
62
|
+
color: black;
|
|
63
|
+
}
|
|
72
64
|
}
|
|
73
|
-
.
|
|
74
|
-
|
|
75
|
-
|
|
65
|
+
.cc {
|
|
66
|
+
background: red;
|
|
67
|
+
}
|
|
68
|
+
.ee {
|
|
69
|
+
background: red;
|
|
76
70
|
}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
/* Less 4.x output, recorded when this fixture graduated to v5.
|
|
2
|
+
Historical record only — no test reads this file. */
|
|
3
|
+
|
|
4
|
+
.error,
|
|
5
|
+
.badError {
|
|
6
|
+
border: 1px #f00;
|
|
7
|
+
background: #fdd;
|
|
8
|
+
}
|
|
9
|
+
.error.intrusion,
|
|
10
|
+
.badError.intrusion {
|
|
11
|
+
font-size: 1.3em;
|
|
12
|
+
font-weight: bold;
|
|
13
|
+
}
|
|
14
|
+
.intrusion .error,
|
|
15
|
+
.intrusion .badError {
|
|
16
|
+
display: none;
|
|
17
|
+
}
|
|
18
|
+
.badError {
|
|
19
|
+
border-width: 3px;
|
|
20
|
+
}
|
|
21
|
+
.foo .bar,
|
|
22
|
+
.foo .baz,
|
|
23
|
+
.ext1 .ext2 .bar,
|
|
24
|
+
.ext1 .ext2 .baz,
|
|
25
|
+
.ext3 .bar,
|
|
26
|
+
.ext3 .baz,
|
|
27
|
+
.foo .ext3,
|
|
28
|
+
.ext4 .bar,
|
|
29
|
+
.ext4 .baz,
|
|
30
|
+
.foo .ext4 {
|
|
31
|
+
display: none;
|
|
32
|
+
}
|
|
33
|
+
div.ext5,
|
|
34
|
+
.ext6 > .ext5,
|
|
35
|
+
div.ext7,
|
|
36
|
+
.ext6 > .ext7 {
|
|
37
|
+
width: 100px;
|
|
38
|
+
}
|
|
39
|
+
.ext8.ext9,
|
|
40
|
+
.fuu {
|
|
41
|
+
result: add-foo;
|
|
42
|
+
}
|
|
43
|
+
.ext8 .ext9,
|
|
44
|
+
.ext8 + .ext9,
|
|
45
|
+
.ext8 > .ext9,
|
|
46
|
+
.buu,
|
|
47
|
+
.zap,
|
|
48
|
+
.zoo {
|
|
49
|
+
result: bar-matched;
|
|
50
|
+
}
|
|
51
|
+
.ext8.nomatch {
|
|
52
|
+
result: none;
|
|
53
|
+
}
|
|
54
|
+
.ext8 .ext9,
|
|
55
|
+
.buu {
|
|
56
|
+
result: match-nested-bar;
|
|
57
|
+
}
|
|
58
|
+
.ext8.ext9,
|
|
59
|
+
.fuu {
|
|
60
|
+
result: match-nested-foo;
|
|
61
|
+
}
|
|
62
|
+
.aa,
|
|
63
|
+
.cc {
|
|
64
|
+
color: black;
|
|
65
|
+
}
|
|
66
|
+
.aa .dd,
|
|
67
|
+
.aa .ee {
|
|
68
|
+
background: red;
|
|
69
|
+
}
|
|
70
|
+
.bb,
|
|
71
|
+
.cc,
|
|
72
|
+
.ee,
|
|
73
|
+
.ff {
|
|
74
|
+
background: red;
|
|
75
|
+
}
|
|
76
|
+
.bb .bb,
|
|
77
|
+
.ff .ff {
|
|
78
|
+
color: black;
|
|
79
|
+
}
|
|
@@ -8,13 +8,10 @@
|
|
|
8
8
|
.d {
|
|
9
9
|
color: black;
|
|
10
10
|
}
|
|
11
|
-
.g.h
|
|
12
|
-
.i.j.h,
|
|
13
|
-
.k.j.h {
|
|
11
|
+
:is(.g, :is(.i, .k).j).h {
|
|
14
12
|
color: black;
|
|
15
13
|
}
|
|
16
|
-
.i.j
|
|
17
|
-
.k.j {
|
|
14
|
+
:is(.i, .k).j {
|
|
18
15
|
color: inherit;
|
|
19
16
|
}
|
|
20
17
|
.l,
|
|
@@ -72,10 +69,10 @@
|
|
|
72
69
|
.mc {
|
|
73
70
|
color: inherit;
|
|
74
71
|
}
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
72
|
+
@media (plasma) {
|
|
73
|
+
.me,
|
|
74
|
+
.mf {
|
|
75
|
+
background: red;
|
|
76
|
+
}
|
|
80
77
|
}
|
|
81
78
|
}
|