OLD | NEW |
| (Empty) |
1 This is a testharness.js-based test. | |
2 Harness Error. harness_status.status = 1 , harness_status.message = 5 duplicate
test names: ""translate: 42.5%;" should parse as "42.5%"", ""translate: 42.5% -2
0.5%;" should parse as "42.5% -20.5%"", ""translate: 42.5% -20.5% 5px;" should p
arse as "42.5% -20.5% 5px"", ""translate: calc(100% + 10px) calc(100% - 10px) ca
lc(100px + 200px);" should parse as "calc(100% + 10px) calc(100% - 10px) calc(30
0px)"", ""translate: calc(100% * 0.5 + 2px) calc(100% - 10px / 2) calc(100px - 2
00px);" should parse as "calc(50% + 2px) calc(100% - 5px) calc(-100px)"" | |
3 PASS "translate: initial;" should parse as "initial" | |
4 PASS "translate: initial;" should be computed to "none" | |
5 PASS "translate: inherit;" should parse as "inherit" | |
6 PASS "translate: none;" should parse as "none" | |
7 PASS "translate: none;" should be computed to "none" | |
8 PASS "translate: 10px;" should parse as "10px" | |
9 PASS "translate: 10px;" should be computed to "10px" | |
10 PASS "translate: 10px -2.5px;" should parse as "10px -2.5px" | |
11 PASS "translate: 10px -2.5px;" should be computed to "10px -2.5px" | |
12 PASS "translate: 10px -2.5px 0;" should parse as "10px -2.5px 0px" | |
13 PASS "translate: 10px -2.5px 0;" should be computed to "10px -2.5px" | |
14 PASS "translate: 42.5%;" should parse as "42.5%" | |
15 PASS "translate: 42.5%;" should be computed to "42.5px" | |
16 PASS "translate: 42.5% -20.5%;" should parse as "42.5% -20.5%" | |
17 PASS "translate: 42.5% -20.5%;" should be computed to "42.5px -41px" | |
18 PASS "translate: 42.5% -20.5% 5px;" should parse as "42.5% -20.5% 5px" | |
19 PASS "translate: 42.5% -20.5% 5px;" should be computed to "42.5px -41px 5px" | |
20 PASS "translate: 10px -2%;" should parse as "10px -2%" | |
21 PASS "translate: 10px -2%;" should be computed to "10px -4px" | |
22 PASS "translate: 10% -2px;" should parse as "10% -2px" | |
23 PASS "translate: 10% -2px;" should be computed to "10px -2px" | |
24 PASS "translate: 10% -2px 4px;" should parse as "10% -2px 4px" | |
25 PASS "translate: 10% -2px 4px;" should be computed to "10px -2px 4px" | |
26 PASS "translate: calc(100%) calc(20px) calc(-1px);" should be computed to "100px
20px -1px" | |
27 PASS "translate: calc(100% + 10px) calc(100% - 10px) calc(100px + 200px);" shoul
d parse as "calc(100% + 10px) calc(100% - 10px) calc(300px)" | |
28 PASS "translate: calc(100% + 10px) calc(100% - 10px) calc(100px + 200px);" shoul
d be computed to "110px 190px 300px" | |
29 PASS "translate: calc(100% * 0.5 + 2px) calc(100% - 10px / 2) calc(100px - 200px
);" should parse as "calc(50% + 2px) calc(100% - 5px) calc(-100px)" | |
30 PASS "translate: calc(100% * 0.5 + 2px) calc(100% - 10px / 2) calc(100px - 200px
);" should be computed to "52px 195px -100px" | |
31 PASS "translate: 2;" should be invalid | |
32 PASS "translate: 10deg 10px;" should be invalid | |
33 PASS "translate: 10px 10px 10%;" should be invalid | |
34 PASS "translate: 20smigens;" should be invalid | |
35 PASS "translate: 10px 20px 5 6;" should be invalid | |
36 PASS "translate: 10% 20% 30%;" should be invalid | |
37 PASS "translate: calc(100% + 10px) calc(100% - 10px) calc(100% + 200px);" should
be invalid | |
38 PASS "translate: 42.5%;" should parse as "42.5%" | |
39 PASS "translate: 42.5%;" should be computed to "42.5%" | |
40 PASS "translate: 42.5% -20.5%;" should parse as "42.5% -20.5%" | |
41 PASS "translate: 42.5% -20.5%;" should be computed to "42.5% -20.5%" | |
42 PASS "translate: 42.5% -20.5% 5px;" should parse as "42.5% -20.5% 5px" | |
43 PASS "translate: 42.5% -20.5% 5px;" should be computed to "42.5% -20.5% 5px" | |
44 PASS "translate: calc(100%) calc(20px) calc(-1px);" should be computed to "100%
20px -1px" | |
45 PASS "translate: calc(100% + 10px) calc(100% - 10px) calc(100px + 200px);" shoul
d parse as "calc(100% + 10px) calc(100% - 10px) calc(300px)" | |
46 PASS "translate: calc(100% + 10px) calc(100% - 10px) calc(100px + 200px);" shoul
d be computed to "calc(10px + 100%) calc(-10px + 100%) 300px" | |
47 PASS "translate: calc(100% * 0.5 + 2px) calc(100% - 10px / 2) calc(100px - 200px
);" should parse as "calc(50% + 2px) calc(100% - 5px) calc(-100px)" | |
48 PASS "translate: calc(100% * 0.5 + 2px) calc(100% - 10px / 2) calc(100px - 200px
);" should be computed to "calc(2px + 50%) calc(-5px + 100%) -100px" | |
49 Harness: the test ran to completion. | |
50 | |
OLD | NEW |