OLD | NEW |
1 CONSOLE WARNING: line 3: Synchronous XMLHttpRequest on the main thread is deprec
ated because of its detrimental effects to the end user's experience. For more h
elp, check https://xhr.spec.whatwg.org/. | 1 CONSOLE WARNING: line 3: Synchronous XMLHttpRequest on the main thread is deprec
ated because of its detrimental effects to the end user's experience. For more h
elp, check https://xhr.spec.whatwg.org/. |
2 Color test for resources/css-parsing-tests/color3.json | 2 Color test for resources/css-parsing-tests/color3.json |
3 | 3 |
4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
5 | 5 |
6 | 6 |
7 PASS colorTest.parseColor("") is "parse error" | 7 PASS colorTest.parseColor("") is "parse error" |
8 PASS colorTest.parseColor(" /* hey */\n") is "parse error" | 8 PASS colorTest.parseColor(" /* hey */\n") is "parse error" |
9 FAIL colorTest.parseColor("4") should be parse error. Was rgb(0, 0, 4). | 9 FAIL colorTest.parseColor("4") should be parse error. Was rgb(0, 0, 4). |
10 PASS colorTest.parseColor("top") is "parse error" | 10 PASS colorTest.parseColor("top") is "parse error" |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 PASS colorTest.parseColor("rgb(0, 0, light)") is "parse error" | 61 PASS colorTest.parseColor("rgb(0, 0, light)") is "parse error" |
62 PASS colorTest.parseColor("rgb()") is "parse error" | 62 PASS colorTest.parseColor("rgb()") is "parse error" |
63 PASS colorTest.parseColor("rgb(0)") is "parse error" | 63 PASS colorTest.parseColor("rgb(0)") is "parse error" |
64 PASS colorTest.parseColor("rgb(0, 0)") is "parse error" | 64 PASS colorTest.parseColor("rgb(0, 0)") is "parse error" |
65 PASS colorTest.parseColor("rgb(0, 0, 0, 0)") is "parse error" | 65 PASS colorTest.parseColor("rgb(0, 0, 0, 0)") is "parse error" |
66 PASS colorTest.parseColor("rgb(0%)") is "parse error" | 66 PASS colorTest.parseColor("rgb(0%)") is "parse error" |
67 PASS colorTest.parseColor("rgb(0%, 0%)") is "parse error" | 67 PASS colorTest.parseColor("rgb(0%, 0%)") is "parse error" |
68 PASS colorTest.parseColor("rgb(0%, 0%, 0%, 0%)") is "parse error" | 68 PASS colorTest.parseColor("rgb(0%, 0%, 0%, 0%)") is "parse error" |
69 PASS colorTest.parseColor("rgb(0%, 0%, 0%, 0)") is "parse error" | 69 PASS colorTest.parseColor("rgb(0%, 0%, 0%, 0)") is "parse error" |
70 PASS colorTest.parseColor("rgba(0, 0, 0, 0)") is "rgba(0, 0, 0, 0)" | 70 PASS colorTest.parseColor("rgba(0, 0, 0, 0)") is "rgba(0, 0, 0, 0)" |
71 PASS colorTest.parseColor("rgba(204, 0, 102, 0.3)") is "rgba(204, 0, 102, 0.3)" | 71 FAIL colorTest.parseColor("rgba(204, 0, 102, 0.3)") should be rgba(204, 0, 102,
0.3). Was rgba(204, 0, 102, 0.298039). |
72 PASS colorTest.parseColor("RGBA(255, 255, 255, 0)") is "rgba(255, 255, 255, 0)" | 72 PASS colorTest.parseColor("RGBA(255, 255, 255, 0)") is "rgba(255, 255, 255, 0)" |
73 PASS colorTest.parseColor("rgBA(0, 51, 255, 1)") is "rgb(0, 51, 255)" | 73 PASS colorTest.parseColor("rgBA(0, 51, 255, 1)") is "rgb(0, 51, 255)" |
74 PASS colorTest.parseColor("rgba(0, 51, 255, 1.1)") is "rgb(0, 51, 255)" | 74 PASS colorTest.parseColor("rgba(0, 51, 255, 1.1)") is "rgb(0, 51, 255)" |
75 PASS colorTest.parseColor("rgba(0, 51, 255, 37)") is "rgb(0, 51, 255)" | 75 PASS colorTest.parseColor("rgba(0, 51, 255, 37)") is "rgb(0, 51, 255)" |
76 PASS colorTest.parseColor("rgba(0, 51, 255, 0.42)") is "rgba(0, 51, 255, 0.42)" | 76 FAIL colorTest.parseColor("rgba(0, 51, 255, 0.42)") should be rgba(0, 51, 255, 0
.42). Was rgba(0, 51, 255, 0.419608). |
77 PASS colorTest.parseColor("rgba(0, 51, 255, 0)") is "rgba(0, 51, 255, 0)" | 77 PASS colorTest.parseColor("rgba(0, 51, 255, 0)") is "rgba(0, 51, 255, 0)" |
78 PASS colorTest.parseColor("rgba(0, 51, 255, -0.1)") is "rgba(0, 51, 255, 0)" | 78 PASS colorTest.parseColor("rgba(0, 51, 255, -0.1)") is "rgba(0, 51, 255, 0)" |
79 PASS colorTest.parseColor("rgba(0, 51, 255, -139)") is "rgba(0, 51, 255, 0)" | 79 PASS colorTest.parseColor("rgba(0, 51, 255, -139)") is "rgba(0, 51, 255, 0)" |
80 FAIL colorTest.parseColor("rgba(42%, 3%, 50%, 0.3)") should be rgba(107, 7, 127,
0.3). Was rgba(107, 7, 128, 0.3). | 80 FAIL colorTest.parseColor("rgba(42%, 3%, 50%, 0.3)") should be rgba(107, 7, 127,
0.3). Was rgba(107, 7, 128, 0.298039). |
81 PASS colorTest.parseColor("RGBA(100%, 100%, 100%, 0)") is "rgba(255, 255, 255, 0
)" | 81 PASS colorTest.parseColor("RGBA(100%, 100%, 100%, 0)") is "rgba(255, 255, 255, 0
)" |
82 PASS colorTest.parseColor("rgBA(0%, 20%, 100%, 1)") is "rgb(0, 51, 255)" | 82 PASS colorTest.parseColor("rgBA(0%, 20%, 100%, 1)") is "rgb(0, 51, 255)" |
83 PASS colorTest.parseColor("rgba(0%, 20%, 100%, 1.1)") is "rgb(0, 51, 255)" | 83 PASS colorTest.parseColor("rgba(0%, 20%, 100%, 1.1)") is "rgb(0, 51, 255)" |
84 PASS colorTest.parseColor("rgba(0%, 20%, 100%, 37)") is "rgb(0, 51, 255)" | 84 PASS colorTest.parseColor("rgba(0%, 20%, 100%, 37)") is "rgb(0, 51, 255)" |
85 PASS colorTest.parseColor("rgba(0%, 20%, 100%, 0.42)") is "rgba(0, 51, 255, 0.42
)" | 85 FAIL colorTest.parseColor("rgba(0%, 20%, 100%, 0.42)") should be rgba(0, 51, 255
, 0.42). Was rgba(0, 51, 255, 0.419608). |
86 PASS colorTest.parseColor("rgba(0%, 20%, 100%, 0)") is "rgba(0, 51, 255, 0)" | 86 PASS colorTest.parseColor("rgba(0%, 20%, 100%, 0)") is "rgba(0, 51, 255, 0)" |
87 PASS colorTest.parseColor("rgba(0%, 20%, 100%, -0.1)") is "rgba(0, 51, 255, 0)" | 87 PASS colorTest.parseColor("rgba(0%, 20%, 100%, -0.1)") is "rgba(0, 51, 255, 0)" |
88 PASS colorTest.parseColor("rgba(0%, 20%, 100%, -139)") is "rgba(0, 51, 255, 0)" | 88 PASS colorTest.parseColor("rgba(0%, 20%, 100%, -139)") is "rgba(0, 51, 255, 0)" |
89 PASS colorTest.parseColor("rgba(255, 255, 255, 0%)") is "parse error" | 89 PASS colorTest.parseColor("rgba(255, 255, 255, 0%)") is "parse error" |
90 PASS colorTest.parseColor("rgba(10%, 50%, 0, 1)") is "parse error" | 90 PASS colorTest.parseColor("rgba(10%, 50%, 0, 1)") is "parse error" |
91 PASS colorTest.parseColor("rgba(255, 50%, 0%, 1)") is "parse error" | 91 PASS colorTest.parseColor("rgba(255, 50%, 0%, 1)") is "parse error" |
92 PASS colorTest.parseColor("rgba(0, 0, 0 0)") is "parse error" | 92 PASS colorTest.parseColor("rgba(0, 0, 0 0)") is "parse error" |
93 PASS colorTest.parseColor("rgba(0, 0, 0, 0deg)") is "parse error" | 93 PASS colorTest.parseColor("rgba(0, 0, 0, 0deg)") is "parse error" |
94 PASS colorTest.parseColor("rgba(0, 0, 0, light)") is "parse error" | 94 PASS colorTest.parseColor("rgba(0, 0, 0, light)") is "parse error" |
95 PASS colorTest.parseColor("rgba()") is "parse error" | 95 PASS colorTest.parseColor("rgba()") is "parse error" |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 PASS colorTest.parseColor("hsla()") is "parse error" | 129 PASS colorTest.parseColor("hsla()") is "parse error" |
130 PASS colorTest.parseColor("hsla(0)") is "parse error" | 130 PASS colorTest.parseColor("hsla(0)") is "parse error" |
131 PASS colorTest.parseColor("hsla(0, 0%)") is "parse error" | 131 PASS colorTest.parseColor("hsla(0, 0%)") is "parse error" |
132 PASS colorTest.parseColor("hsla(0, 0%, 0%, 50%)") is "parse error" | 132 PASS colorTest.parseColor("hsla(0, 0%, 0%, 50%)") is "parse error" |
133 PASS colorTest.parseColor("hsla(0, 0%, 0%, 1, 0%)") is "parse error" | 133 PASS colorTest.parseColor("hsla(0, 0%, 0%, 1, 0%)") is "parse error" |
134 PASS colorTest.parseColor("cmyk(0, 0, 0, 0)") is "parse error" | 134 PASS colorTest.parseColor("cmyk(0, 0, 0, 0)") is "parse error" |
135 PASS successfullyParsed is true | 135 PASS successfullyParsed is true |
136 | 136 |
137 TEST COMPLETE | 137 TEST COMPLETE |
138 | 138 |
OLD | NEW |