Skip to content

Commit d1c2d47

Browse files
committed
fix mirror bugs, update dependencies, php 8.2, add Calc encoder, improve
1 parent c0d23b5 commit d1c2d47

44 files changed

Lines changed: 517 additions & 279 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.idea/.gitignore

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/codeception.xml

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/dictionaries/project.xml

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/modules.xml

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/php.xml

Lines changed: 63 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/phpspec.xml

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/phpunit.xml

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/rtlcss.iml

Lines changed: 46 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/vcs.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bugs.json

Lines changed: 3 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,7 @@
11
[
22
{
3-
"should": "Should not negate color value for linear gradient with calc",
4-
"expected": "div { background-image: linear-gradient(rgba(255,255,calc((125 * 2) + .5), .3) 0%,#ff8 100%); }",
5-
"input": "div { background-image: linear-gradient(rgba(255,255,calc((125 * 2) + 5), .3) 0%, #ff8 100%); }"
6-
},
7-
{
8-
"should": "Should negate angle value for linear gradient",
9-
"expected": "div { background-image: linear-gradient(13.25deg,rgba(255, 255, 255, .15) 25%, transparent 25%); }",
10-
"input": "div { background-image: linear-gradient(-13.25deg, rgba(255, 255, 255, .15) 25%, transparent 25%); }"
11-
},
12-
{
13-
"should": "Should mirror property value: border-color (4 values)",
14-
"expected": "div { border-color: rgba(255,255,255,1) hsla(0,100%,50%,1) #000 hsla(0,100%,50%,1); }",
15-
"input": "div { border-color: rgba(255, 255, 255, 1) hsla(0, 100%, 50%, 1) #000 rgb( 0, 0, 0); }"
16-
},
17-
{
18-
"should": "Should mirror transform : matrix3d",
19-
"expected": "div { transform: matrix3d(.22711447,.127248412,0,.0008116307,.113139853456,1.5399719655,0,.00059636827,0,0,1,0,-165,67,0,1); }",
20-
"input": "div { transform:matrix3d(0.22711447, -0.127248412, 0, -0.0008116307, -0.113139853456, 1.5399719655, 0, 0.00059636827, 0, 0, 1, 0, 165, 67, 0, 1); }"
21-
},
22-
{
23-
"should": "Should mirror transform (with no digits before dot): matrix3d",
24-
"expected": "div { transform: matrix3d(0.227114470162179, 0.127248412323519, 0, 0.000811630714323203, 0.113139853456515, 1.53997196559414, 0, 0.000596368270149729, 0, 0, 1, 0, -165, 67, 0, 1); }",
25-
"input": "div { transform:matrix3d(0.227114470162179, -.127248412323519, 0, -0.000811630714323203, -0.113139853456515, 1.53997196559414, 0, 0.000596368270149729, 0, 0, 1, 0, 165, 67, 0, 1); }"
26-
},
27-
{
28-
"should": "Should mirror transform with calc : matrix3d",
29-
"expected": "div { transform:matrix3d(0.227114470162179, 0.127248412323519, 0, 0.000811630714323203, 0.113139853456515, 1.53997196559414, 0, 0.000596368270149729, 0, 0, 1, 0, calc(-1*(((25%/2) * 10px))), 67, 0, 1); }",
30-
"input": "div { transform:matrix3d(0.227114470162179, -0.127248412323519, 0, -0.000811630714323203, -0.113139853456515, 1.53997196559414, 0, 0.000596368270149729, 0, 0, 1, 0, calc(((25%/2) * 10px)), 67, 0, 1); }"
31-
},
32-
{
33-
"should": "Should mirror transform with calc : translateX",
34-
"expected": "div { transform: translateX(-ms-calc(-1*(( ( 25% / 2 ) * 10px )))); }",
35-
"input": "div { transform: translateX(-ms-calc(((25%/2) * 10px))));}"
36-
},
37-
{
38-
"should": "Should mirror transform with calc: translate3d",
39-
"expected": "div { transform: translate3d(-webkit-calc(-1*(( ( 25% / 2 ) * 10px))))), 50%, calc(((25%/2) * 10px))))); }",
40-
"input": "div { transform: translate3d(-webkit-calc(((25%/2) * 10px)))), 50%, calc(((25%/2) * 10px))))); }"
3+
"should": "Should flip variable values if it is flagged as an alias",
4+
"expected": ":root {--pad: 10px 4px 2px 5px;}",
5+
"input": ":root {--pad: 10px 5px 2px 4px}"
416
}
427
]

0 commit comments

Comments
 (0)