OLD | NEW |
1 Test strict color parsing on SVG presentation attributes. | 1 Test strict color parsing on SVG presentation attributes. |
2 | 2 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 4 |
5 | 5 |
6 PASS document.defaultView.getComputedStyle(rect, null).fill is "#000000" | 6 PASS document.defaultView.getComputedStyle(rect, null).fill is "rgb(0, 0, 0)" |
7 PASS document.defaultView.getComputedStyle(rect, null).fill is "#008000" | 7 PASS document.defaultView.getComputedStyle(rect, null).fill is "rgb(0, 128, 0)" |
8 PASS document.defaultView.getComputedStyle(rect, null).fill is null | 8 PASS document.defaultView.getComputedStyle(rect, null).fill is null |
9 PASS document.defaultView.getComputedStyle(rect, null).fill is "#008000" | 9 PASS document.defaultView.getComputedStyle(rect, null).fill is "rgb(0, 128, 0)" |
10 PASS document.defaultView.getComputedStyle(rect, null).fill is null | 10 PASS document.defaultView.getComputedStyle(rect, null).fill is null |
11 PASS document.defaultView.getComputedStyle(rect, null).fill is "#008000" | 11 PASS document.defaultView.getComputedStyle(rect, null).fill is "rgb(0, 128, 0)" |
12 PASS document.defaultView.getComputedStyle(rect, null).fill is null | 12 PASS document.defaultView.getComputedStyle(rect, null).fill is null |
13 PASS document.defaultView.getComputedStyle(rect, null).fill is "#008000" | 13 PASS document.defaultView.getComputedStyle(rect, null).fill is "rgb(0, 128, 0)" |
14 PASS document.defaultView.getComputedStyle(rect, null).fill is null | 14 PASS document.defaultView.getComputedStyle(rect, null).fill is null |
15 PASS document.defaultView.getComputedStyle(rect, null).fill is "#008000" | 15 PASS document.defaultView.getComputedStyle(rect, null).fill is "rgb(0, 128, 0)" |
16 PASS document.defaultView.getComputedStyle(rect, null).fill is "#000000" | 16 PASS document.defaultView.getComputedStyle(rect, null).fill is "rgb(0, 0, 0)" |
17 PASS document.defaultView.getComputedStyle(rect, null).fill is "#008000" | 17 PASS document.defaultView.getComputedStyle(rect, null).fill is "rgb(0, 128, 0)" |
18 PASS document.defaultView.getComputedStyle(rect, null).fill is "url(#reference)" | 18 PASS document.defaultView.getComputedStyle(rect, null).fill is "url(#reference)" |
19 PASS document.defaultView.getComputedStyle(rect, null).fill is "#008000" | 19 PASS document.defaultView.getComputedStyle(rect, null).fill is "rgb(0, 128, 0)" |
20 PASS document.defaultView.getComputedStyle(rect, null).fill is "url(#reference)
#008000" | 20 PASS document.defaultView.getComputedStyle(rect, null).fill is "url(#reference)
rgb(0, 128, 0)" |
21 PASS document.defaultView.getComputedStyle(rect, null).fill is "#008000" | 21 PASS document.defaultView.getComputedStyle(rect, null).fill is "rgb(0, 128, 0)" |
22 PASS document.defaultView.getComputedStyle(rect, null).stroke is "none" | 22 PASS document.defaultView.getComputedStyle(rect, null).stroke is "none" |
23 PASS document.defaultView.getComputedStyle(rect, null).stroke is "#008000" | 23 PASS document.defaultView.getComputedStyle(rect, null).stroke is "rgb(0, 128, 0)
" |
24 PASS document.defaultView.getComputedStyle(rect, null).stroke is null | 24 PASS document.defaultView.getComputedStyle(rect, null).stroke is null |
25 PASS document.defaultView.getComputedStyle(rect, null).stroke is "#008000" | 25 PASS document.defaultView.getComputedStyle(rect, null).stroke is "rgb(0, 128, 0)
" |
26 PASS document.defaultView.getComputedStyle(rect, null).stroke is null | 26 PASS document.defaultView.getComputedStyle(rect, null).stroke is null |
27 PASS document.defaultView.getComputedStyle(rect, null).stroke is "#008000" | 27 PASS document.defaultView.getComputedStyle(rect, null).stroke is "rgb(0, 128, 0)
" |
28 PASS document.defaultView.getComputedStyle(rect, null).stroke is null | 28 PASS document.defaultView.getComputedStyle(rect, null).stroke is null |
29 PASS document.defaultView.getComputedStyle(rect, null).stroke is "#008000" | 29 PASS document.defaultView.getComputedStyle(rect, null).stroke is "rgb(0, 128, 0)
" |
30 PASS document.defaultView.getComputedStyle(rect, null).stroke is null | 30 PASS document.defaultView.getComputedStyle(rect, null).stroke is null |
31 PASS document.defaultView.getComputedStyle(rect, null).stroke is "#008000" | 31 PASS document.defaultView.getComputedStyle(rect, null).stroke is "rgb(0, 128, 0)
" |
32 PASS document.defaultView.getComputedStyle(rect, null).stroke is "none" | 32 PASS document.defaultView.getComputedStyle(rect, null).stroke is "none" |
33 PASS document.defaultView.getComputedStyle(rect, null).stroke is "#008000" | 33 PASS document.defaultView.getComputedStyle(rect, null).stroke is "rgb(0, 128, 0)
" |
34 PASS document.defaultView.getComputedStyle(rect, null).stroke is "url(#reference
)" | 34 PASS document.defaultView.getComputedStyle(rect, null).stroke is "url(#reference
)" |
35 PASS document.defaultView.getComputedStyle(rect, null).stroke is "#008000" | 35 PASS document.defaultView.getComputedStyle(rect, null).stroke is "rgb(0, 128, 0)
" |
36 PASS document.defaultView.getComputedStyle(rect, null).stroke is "url(#reference
) #008000" | 36 PASS document.defaultView.getComputedStyle(rect, null).stroke is "url(#reference
) rgb(0, 128, 0)" |
37 PASS document.defaultView.getComputedStyle(rect, null).stroke is "#008000" | 37 PASS document.defaultView.getComputedStyle(rect, null).stroke is "rgb(0, 128, 0)
" |
38 PASS document.defaultView.getComputedStyle(rect, null).color is "rgb(0, 0, 0)" | 38 PASS document.defaultView.getComputedStyle(rect, null).color is "rgb(0, 0, 0)" |
39 PASS document.defaultView.getComputedStyle(rect, null).color is "rgb(0, 128, 0)" | 39 PASS document.defaultView.getComputedStyle(rect, null).color is "rgb(0, 128, 0)" |
40 PASS document.defaultView.getComputedStyle(rect, null).color is "rgb(0, 0, 0)" | 40 PASS document.defaultView.getComputedStyle(rect, null).color is "rgb(0, 0, 0)" |
41 PASS document.defaultView.getComputedStyle(rect, null).color is "rgb(0, 128, 0)" | 41 PASS document.defaultView.getComputedStyle(rect, null).color is "rgb(0, 128, 0)" |
42 PASS document.defaultView.getComputedStyle(rect, null).color is "rgb(0, 0, 0)" | 42 PASS document.defaultView.getComputedStyle(rect, null).color is "rgb(0, 0, 0)" |
43 PASS document.defaultView.getComputedStyle(rect, null).color is "rgb(0, 128, 0)" | 43 PASS document.defaultView.getComputedStyle(rect, null).color is "rgb(0, 128, 0)" |
44 PASS document.defaultView.getComputedStyle(rect, null).color is "rgb(0, 0, 0)" | 44 PASS document.defaultView.getComputedStyle(rect, null).color is "rgb(0, 0, 0)" |
45 PASS document.defaultView.getComputedStyle(rect, null).color is "rgb(0, 128, 0)" | 45 PASS document.defaultView.getComputedStyle(rect, null).color is "rgb(0, 128, 0)" |
46 PASS document.defaultView.getComputedStyle(rect, null).color is "rgb(0, 0, 0)" | 46 PASS document.defaultView.getComputedStyle(rect, null).color is "rgb(0, 0, 0)" |
47 PASS document.defaultView.getComputedStyle(rect, null).color is "rgb(0, 128, 0)" | 47 PASS document.defaultView.getComputedStyle(rect, null).color is "rgb(0, 128, 0)" |
(...skipping 20 matching lines...) Expand all Loading... |
68 PASS document.defaultView.getComputedStyle(rect, null).floodColor is "rgb(0, 0,
0)" | 68 PASS document.defaultView.getComputedStyle(rect, null).floodColor is "rgb(0, 0,
0)" |
69 PASS document.defaultView.getComputedStyle(rect, null).floodColor is "rgb(0, 128
, 0)" | 69 PASS document.defaultView.getComputedStyle(rect, null).floodColor is "rgb(0, 128
, 0)" |
70 PASS document.defaultView.getComputedStyle(rect, null).floodColor is "rgb(0, 0,
0)" | 70 PASS document.defaultView.getComputedStyle(rect, null).floodColor is "rgb(0, 0,
0)" |
71 PASS document.defaultView.getComputedStyle(rect, null).floodColor is "rgb(0, 128
, 0)" | 71 PASS document.defaultView.getComputedStyle(rect, null).floodColor is "rgb(0, 128
, 0)" |
72 PASS document.defaultView.getComputedStyle(rect, null).floodColor is "rgb(0, 0,
0)" | 72 PASS document.defaultView.getComputedStyle(rect, null).floodColor is "rgb(0, 0,
0)" |
73 PASS document.defaultView.getComputedStyle(rect, null).floodColor is "rgb(0, 128
, 0)" | 73 PASS document.defaultView.getComputedStyle(rect, null).floodColor is "rgb(0, 128
, 0)" |
74 PASS successfullyParsed is true | 74 PASS successfullyParsed is true |
75 | 75 |
76 TEST COMPLETE | 76 TEST COMPLETE |
77 | 77 |
OLD | NEW |