@less/test-data 5.0.0-alpha.4 → 5.0.0-alpha.5
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/package.json +1 -1
- package/tests-config/3rd-party/bootstrap4.css +203 -438
- 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/static-urls/urls.css +2 -1
- package/tests-unit/color-functions/operations.css +1 -1
- package/tests-unit/detached-rulesets/styles.config.cjs +8 -0
- package/tests-unit/extract-and-length/extract-and-length.css +1 -1
- package/tests-unit/functions/functions.css +8 -8
- package/tests-unit/import/import/import-reference.less +1 -1
- package/tests-unit/import/import-reference.css +7 -5
- package/tests-unit/import/import.css +1 -1
- package/tests-unit/import/styles.config.cjs +1 -3
- package/tests-unit/mixins/styles.config.ts +1 -3
- package/tests-unit/scope/styles.config.cjs +8 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
@media screen{body{margin:0}p{padding:0}}@layer base{body{margin:0}p{padding:0}div{border:0}}@supports
|
|
1
|
+
@media screen{body{margin:0}p{padding:0}}@layer base{body{margin:0}p{padding:0}div{border:0}}@supports(display:grid){.grid{display:grid}.item{grid-column:1}}@page{margin:2cm;size:A4}@keyframes slide{from{transform:translateX(0)}to{transform:translateX(100px)}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@charset "UTF-8";@media screen,print,handheld{body{font-size:12pt}}@media screen{.container{color:red;background:blue}}@media screen{.test{color:red;background:blue}}@media screen,print{body{margin:0}}@media screen{.container{color:red}.container .child{color:blue}}@media screen{.wrapper .inner{color:green}}@page{margin:2cm;size:A4}@supports
|
|
1
|
+
@charset "UTF-8";@media screen,print,handheld{body{font-size:12pt}}@media screen{.container{color:red;background:blue}}@media screen{.test{color:red;background:blue}}@media screen,print{body{margin:0}}@media screen{.container{color:red}.container .child{color:blue}}@media screen{.wrapper .inner{color:green}}@page{margin:2cm;size:A4}@supports(display:grid){.grid{display:grid}.flex{display:flex}}@media screen{body{color:black}}@layer base{body{margin:0}p{padding:0}}@media screen{.test{color:value}}@media screen{@media print{body{color:black}}}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
#colours{color1:#fea;color2:#
|
|
1
|
+
#colours{color1:#fea;color2:#fea;color3:rgba(255,238,170,.1);string:"#fea";/*! but not this type
|
|
2
2
|
Note preserved whitespace
|
|
3
|
-
*/}dimensions{val:.1px;val:0em;val:4cm;val:.2;val:5;angles-must-have-unit:0deg;durations-must-have-unit:0s;length-doesnt-have-unit:0px;width:auto\9}@page{marks:none;@top-left-corner{vertical-align:top}@top-left{vertical-align:top}}
|
|
3
|
+
*/}dimensions{val:.1px;val:0em;val:4cm;val:.2;val:5;angles-must-have-unit:0deg;durations-must-have-unit:0s;length-doesnt-have-unit:0px;width:auto\9}@page{marks:none;@top-left-corner{vertical-align:top}@top-left{vertical-align:top}}
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
@import "folder (1)/import-test-d.css";
|
|
3
3
|
@font-face {
|
|
4
4
|
src: url("/fonts/garamond-pro.ttf");
|
|
5
|
-
src: local(Futura-Medium),
|
|
5
|
+
src: local(Futura-Medium),
|
|
6
|
+
url(folder\ \(1\)/fonts.svg#MyGeometricModern) format("svg");
|
|
6
7
|
}
|
|
7
8
|
#shorthands {
|
|
8
9
|
background: url("http://www.lesscss.org/spec.html") no-repeat 0 4px;
|
|
@@ -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
|
+
};
|
|
@@ -20,12 +20,12 @@
|
|
|
20
20
|
luma-blue: 7.22%;
|
|
21
21
|
luma-yellow: 92.78%;
|
|
22
22
|
luma-cyan: 78.74%;
|
|
23
|
-
luma-differs-from-luminance: 23.
|
|
23
|
+
luma-differs-from-luminance: 23.898333493%;
|
|
24
24
|
luminance-white: 100%;
|
|
25
25
|
luminance-black: 0%;
|
|
26
26
|
luminance-black-alpha: 0%;
|
|
27
27
|
luminance-red: 21.26%;
|
|
28
|
-
luminance-differs-from-luma: 36.
|
|
28
|
+
luminance-differs-from-luma: 36.405411765%;
|
|
29
29
|
contrast-filter: contrast(30%);
|
|
30
30
|
saturate-filter: saturate(5%);
|
|
31
31
|
contrast-white: #000000;
|
|
@@ -85,12 +85,12 @@
|
|
|
85
85
|
ceil: 11px;
|
|
86
86
|
floor: 12px;
|
|
87
87
|
sqrt: 5px;
|
|
88
|
-
pi: 3.
|
|
88
|
+
pi: 3.1415926536;
|
|
89
89
|
mod: 2m;
|
|
90
90
|
abs: 4%;
|
|
91
|
-
tan: 0.
|
|
92
|
-
sin: 0.
|
|
93
|
-
cos: 0.
|
|
91
|
+
tan: 0.9004040443;
|
|
92
|
+
sin: 0.17364817767;
|
|
93
|
+
cos: 0.8438539587;
|
|
94
94
|
atan: 0.1rad;
|
|
95
95
|
atan: 34deg;
|
|
96
96
|
atan: 45deg;
|
|
@@ -101,12 +101,12 @@
|
|
|
101
101
|
min: 5;
|
|
102
102
|
min: 1pt;
|
|
103
103
|
min: 3mm;
|
|
104
|
-
min: min(
|
|
104
|
+
min: min(6em, 5, 4ex, 3, 2pt, 1);
|
|
105
105
|
min: min(calc(1em + 1vw), 1);
|
|
106
106
|
min: min(var(--width), 802px);
|
|
107
107
|
max: 3;
|
|
108
108
|
max: 5em;
|
|
109
|
-
max: max(5m,
|
|
109
|
+
max: max(1px, 2, 3em, 4, 5m, 6);
|
|
110
110
|
max: min(var(--body-max-width), calc(100vw - 20px));
|
|
111
111
|
max: max(1, calc(1em + 1vw));
|
|
112
112
|
max-native: max(10vw, 100px);
|
|
@@ -24,13 +24,12 @@ div#id.class[a=one][b=two].class:not(.one) {
|
|
|
24
24
|
.visible:hover {
|
|
25
25
|
color: green;
|
|
26
26
|
}
|
|
27
|
-
.
|
|
28
|
-
|
|
27
|
+
.visible {
|
|
28
|
+
color: green;
|
|
29
|
+
}
|
|
29
30
|
.visible + .visible {
|
|
30
31
|
color: green;
|
|
31
32
|
}
|
|
32
|
-
.only-with-visible + .visible .sub,
|
|
33
|
-
.visible + .only-with-visible .sub,
|
|
34
33
|
.visible + .visible .sub {
|
|
35
34
|
color: green;
|
|
36
35
|
}
|
|
@@ -54,6 +53,9 @@ div#id.class[a=one][b=two].class:not(.one) {
|
|
|
54
53
|
.b:hover {
|
|
55
54
|
color: green;
|
|
56
55
|
}
|
|
56
|
+
.b {
|
|
57
|
+
color: green;
|
|
58
|
+
}
|
|
57
59
|
.b + .b {
|
|
58
60
|
color: green;
|
|
59
61
|
}
|
|
@@ -61,7 +63,7 @@ div#id.class[a=one][b=two].class:not(.one) {
|
|
|
61
63
|
color: green;
|
|
62
64
|
}
|
|
63
65
|
.y {
|
|
64
|
-
pulled-in: yes
|
|
66
|
+
pulled-in: yes /* inline comment survives */;
|
|
65
67
|
}
|
|
66
68
|
/* comment pulled in */
|
|
67
69
|
.visible {
|
|
@@ -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
|
+
};
|