-
-
Notifications
You must be signed in to change notification settings - Fork 75
/
Copy pathbasic.preserve-true.expect.css
97 lines (90 loc) · 2.11 KB
/
basic.preserve-true.expect.css
1
2
3
4
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
.mod {
padding: 8px 3px 1px calc(3px + 50%);
padding: 8px mod(18px, 5px) 1px calc(mod(15px, 6px) + 50%);
transform: rotate(-50deg);
transform: rotate(mod(-140deg, -90deg));
width: 2px;
width: mod(mod(-18px, 5px), 5px);
}
.rem {
padding: 8px 3px 1px calc(3px + 50%);
padding: 8px rem(18px, 5px) 1px calc(rem(15px, 6px) + 50%);
transform: rotate(-50deg);
transform: rotate(rem(-140deg, -90deg));
}
.mod-rem {
font-size: 2px;
font-size: mod(-18px, 5px);
width: -3px;
width: rem(-18px, 5px);
transform: rotateX(-40deg) rotateY(50deg);
transform: rotateX(mod(140deg, -90deg)) rotateY(rem(140deg, -90deg));
height: 0px;
height: rem(mod(mod(-18px, 5px), 5px), 2px);
}
.round {
top: 3px;
top: round(2.5px, 1px);
right: 3px;
right: round(nearest, 2.5px, 1px);
bottom: 3px;
bottom: round(up, 2.5px, 1px);
left: 2px;
left: round(down, 2.5px, 1px);
inset: 2px;
inset: round(to-zero, 2.5px, 1px);
}
.round-multiple {
top: 16px;
top: round(15px, 4px);
right: 16px;
right: round(nearest, 15px, 4px);
bottom: 21px;
bottom: round(up, 15px, 7px);
left: 12px;
left: round(down, 15px, 4px);
inset: 12px;
inset: round(to-zero, 15px, 4px);
}
.round-complex {
left: 2px;
left: round(nearest, mod(-18px, 5px), 2px);
top: 2px;
top: round(nearest, mod(mod(-18px, 5px), 5px), 2px);
/* lower case */
right: 8px;
right: round(up, rem(mod(mod(8px, 5px), 7px), 15px), 8px);
/* upper case */
right: 8px;
right: ROUND(UP, REM(mod(MOD(8px, 5px), 7px), 15px), 8px);
}
.unit {
top: 37.79528px;
top: round(up, 25px, 1cm);
bottom: 940px;
bottom: round(down, 25cm, 10px);
left: 0.035s;
left: mod(735ms, 0.1s);
}
.invalid {
font-size: mod(18px, 5rem);
width: rem(var(--foo), 5px);
padding: mod(Fo0px, 5px);
left: calc(NaN * 1px);
left: mod(1px, 0px);
right: 1px;
right: mod(1px, 200px);
inset: round(something, 15px, 4px);
margin-top: round(nearest, 15px, 4px, 50px);
margin-bottom: round(nearest, 15px, 4%);
font-size: mod;
font-size: mod();
font-size: mod(1px);
font-size: rem;
font-size: rem();
font-size: rem(1px);
font-size: round;
font-size: round();
font-size: round(1px);
color: color-mod(calc(1 + 1), 1);
}