OLD | NEW |
1 CONSOLE WARNING: Synchronous XMLHttpRequest on the main thread is deprecated bec
ause of its detrimental effects to the end user's experience. For more help, che
ck https://xhr.spec.whatwg.org/. | 1 CONSOLE WARNING: Synchronous XMLHttpRequest on the main thread is deprecated bec
ause of its detrimental effects to the end user's experience. For more help, che
ck 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" |
11 PASS colorTest.parseColor("/**/transparent") is "rgba(0, 0, 0, 0)" | 11 PASS colorTest.parseColor("/**/transparent") is "rgba(0, 0, 0, 0)" |
12 PASS colorTest.parseColor("transparent") is "rgba(0, 0, 0, 0)" | 12 PASS colorTest.parseColor("transparent") is "rgba(0, 0, 0, 0)" |
13 PASS colorTest.parseColor(" transparent\n") is "rgba(0, 0, 0, 0)" | 13 PASS colorTest.parseColor(" transparent\n") is "rgba(0, 0, 0, 0)" |
14 PASS colorTest.parseColor("TransParent") is "rgba(0, 0, 0, 0)" | 14 PASS colorTest.parseColor("TransParent") is "rgba(0, 0, 0, 0)" |
15 PASS colorTest.parseColor("currentColor") is "currentColor" | 15 PASS colorTest.parseColor("currentColor") is "currentColor" |
16 PASS colorTest.parseColor("CURRENTcolor") is "currentColor" | 16 PASS colorTest.parseColor("CURRENTcolor") is "currentColor" |
17 PASS colorTest.parseColor("current-Color") is "parse error" | 17 PASS colorTest.parseColor("current-Color") is "parse error" |
18 PASS colorTest.parseColor("black") is "rgb(0, 0, 0)" | 18 PASS colorTest.parseColor("black") is "rgb(0, 0, 0)" |
19 PASS colorTest.parseColor("white") is "rgb(255, 255, 255)" | 19 PASS colorTest.parseColor("white") is "rgb(255, 255, 255)" |
20 PASS colorTest.parseColor("fuchsia") is "rgb(255, 0, 255)" | 20 PASS colorTest.parseColor("fuchsia") is "rgb(255, 0, 255)" |
21 PASS colorTest.parseColor("cyan") is "rgb(0, 255, 255)" | 21 PASS colorTest.parseColor("cyan") is "rgb(0, 255, 255)" |
22 PASS colorTest.parseColor("CyAn") is "rgb(0, 255, 255)" | 22 PASS colorTest.parseColor("CyAn") is "rgb(0, 255, 255)" |
23 PASS colorTest.parseColor("#") is "parse error" | 23 PASS colorTest.parseColor("#") is "parse error" |
24 PASS colorTest.parseColor("#f") is "parse error" | 24 PASS colorTest.parseColor("#f") is "parse error" |
25 PASS colorTest.parseColor("#ff") is "parse error" | 25 PASS colorTest.parseColor("#ff") is "parse error" |
26 PASS colorTest.parseColor("#fff") is "rgb(255, 255, 255)" | 26 PASS colorTest.parseColor("#fff") is "rgb(255, 255, 255)" |
27 PASS colorTest.parseColor("#ffg") is "parse error" | 27 PASS colorTest.parseColor("#ffg") is "parse error" |
28 PASS colorTest.parseColor("#ffff") is "parse error" | 28 PASS colorTest.parseColor("#ffff") is "rgb(255, 255, 255)" |
| 29 PASS colorTest.parseColor("#fffg") is "parse error" |
29 PASS colorTest.parseColor("#fffff") is "parse error" | 30 PASS colorTest.parseColor("#fffff") is "parse error" |
30 PASS colorTest.parseColor("#ffffff") is "rgb(255, 255, 255)" | 31 PASS colorTest.parseColor("#ffffff") is "rgb(255, 255, 255)" |
31 PASS colorTest.parseColor("#fffffg") is "parse error" | 32 PASS colorTest.parseColor("#fffffg") is "parse error" |
32 PASS colorTest.parseColor("#fffffff") is "parse error" | 33 PASS colorTest.parseColor("#fffffff") is "parse error" |
33 PASS colorTest.parseColor("#ffffffff") is "parse error" | 34 PASS colorTest.parseColor("#ffffffff") is "rgb(255, 255, 255)" |
| 35 PASS colorTest.parseColor("#fffffffg") is "parse error" |
34 PASS colorTest.parseColor("#fffffffff") is "parse error" | 36 PASS colorTest.parseColor("#fffffffff") is "parse error" |
35 PASS colorTest.parseColor("#FFCc99") is "rgb(255, 204, 153)" | 37 PASS colorTest.parseColor("#FFCc99") is "rgb(255, 204, 153)" |
36 PASS colorTest.parseColor("#369") is "rgb(51, 102, 153)" | 38 PASS colorTest.parseColor("#369") is "rgb(51, 102, 153)" |
37 PASS colorTest.parseColor("rgb(00, 51, 102)") is "rgb(0, 51, 102)" | 39 PASS colorTest.parseColor("rgb(00, 51, 102)") is "rgb(0, 51, 102)" |
38 PASS colorTest.parseColor("r\\gb(00, 51, 102)") is "rgb(0, 51, 102)" | 40 PASS colorTest.parseColor("r\\gb(00, 51, 102)") is "rgb(0, 51, 102)" |
39 PASS colorTest.parseColor("r\\67 b(00, 51, 102)") is "rgb(0, 51, 102)" | 41 PASS colorTest.parseColor("r\\67 b(00, 51, 102)") is "rgb(0, 51, 102)" |
40 PASS colorTest.parseColor("RGB(153, 204, 255)") is "rgb(153, 204, 255)" | 42 PASS colorTest.parseColor("RGB(153, 204, 255)") is "rgb(153, 204, 255)" |
41 PASS colorTest.parseColor("rgB(0, 0, 0)") is "rgb(0, 0, 0)" | 43 PASS colorTest.parseColor("rgB(0, 0, 0)") is "rgb(0, 0, 0)" |
42 PASS colorTest.parseColor("rgB(0, 51, 255)") is "rgb(0, 51, 255)" | 44 PASS colorTest.parseColor("rgB(0, 51, 255)") is "rgb(0, 51, 255)" |
43 PASS colorTest.parseColor("rgb(0,51,255)") is "rgb(0, 51, 255)" | 45 PASS colorTest.parseColor("rgb(0,51,255)") is "rgb(0, 51, 255)" |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 PASS colorTest.parseColor("hsla()") is "parse error" | 129 PASS colorTest.parseColor("hsla()") is "parse error" |
128 PASS colorTest.parseColor("hsla(0)") is "parse error" | 130 PASS colorTest.parseColor("hsla(0)") is "parse error" |
129 PASS colorTest.parseColor("hsla(0, 0%)") is "parse error" | 131 PASS colorTest.parseColor("hsla(0, 0%)") is "parse error" |
130 PASS colorTest.parseColor("hsla(0, 0%, 0%, 50%)") is "parse error" | 132 PASS colorTest.parseColor("hsla(0, 0%, 0%, 50%)") is "parse error" |
131 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" |
132 PASS colorTest.parseColor("cmyk(0, 0, 0, 0)") is "parse error" | 134 PASS colorTest.parseColor("cmyk(0, 0, 0, 0)") is "parse error" |
133 PASS successfullyParsed is true | 135 PASS successfullyParsed is true |
134 | 136 |
135 TEST COMPLETE | 137 TEST COMPLETE |
136 | 138 |
OLD | NEW |