OLD | NEW |
---|---|
(Empty) | |
1 This tests if floating point alpha values of numbers to two decimial places are serialized and returned correctly. | |
sashab
2017/01/02 23:04:15
Don't need -expected.txt for testharness.js tests
ktyliu
2017/01/03 02:14:22
Done.
| |
2 | |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". | |
4 | |
5 | |
6 PASS document.body.style.color is "rgba(0, 0, 0, 0)" | |
7 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0)" | |
8 PASS document.body.style.color is "rgba(0, 0, 0, 0.01)" | |
9 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.01)" | |
10 PASS document.body.style.color is "rgba(0, 0, 0, 0.02)" | |
11 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.02)" | |
12 PASS document.body.style.color is "rgba(0, 0, 0, 0.03)" | |
13 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.03)" | |
14 PASS document.body.style.color is "rgba(0, 0, 0, 0.04)" | |
15 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.04)" | |
16 PASS document.body.style.color is "rgba(0, 0, 0, 0.05)" | |
17 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.05)" | |
18 PASS document.body.style.color is "rgba(0, 0, 0, 0.06)" | |
19 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.06)" | |
20 PASS document.body.style.color is "rgba(0, 0, 0, 0.07)" | |
21 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.07)" | |
22 PASS document.body.style.color is "rgba(0, 0, 0, 0.08)" | |
23 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.08)" | |
24 PASS document.body.style.color is "rgba(0, 0, 0, 0.09)" | |
25 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.09)" | |
26 PASS document.body.style.color is "rgba(0, 0, 0, 0.1)" | |
27 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.1)" | |
28 PASS document.body.style.color is "rgba(0, 0, 0, 0.11)" | |
29 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.11)" | |
30 PASS document.body.style.color is "rgba(0, 0, 0, 0.12)" | |
31 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.12)" | |
32 PASS document.body.style.color is "rgba(0, 0, 0, 0.13)" | |
33 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.13)" | |
34 PASS document.body.style.color is "rgba(0, 0, 0, 0.14)" | |
35 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.14)" | |
36 PASS document.body.style.color is "rgba(0, 0, 0, 0.15)" | |
37 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.15)" | |
38 PASS document.body.style.color is "rgba(0, 0, 0, 0.16)" | |
39 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.16)" | |
40 PASS document.body.style.color is "rgba(0, 0, 0, 0.17)" | |
41 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.17)" | |
42 PASS document.body.style.color is "rgba(0, 0, 0, 0.18)" | |
43 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.18)" | |
44 PASS document.body.style.color is "rgba(0, 0, 0, 0.19)" | |
45 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.19)" | |
46 PASS document.body.style.color is "rgba(0, 0, 0, 0.2)" | |
47 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.2)" | |
48 PASS document.body.style.color is "rgba(0, 0, 0, 0.21)" | |
49 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.21)" | |
50 PASS document.body.style.color is "rgba(0, 0, 0, 0.22)" | |
51 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.22)" | |
52 PASS document.body.style.color is "rgba(0, 0, 0, 0.23)" | |
53 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.23)" | |
54 PASS document.body.style.color is "rgba(0, 0, 0, 0.24)" | |
55 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.24)" | |
56 PASS document.body.style.color is "rgba(0, 0, 0, 0.25)" | |
57 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.25)" | |
58 PASS document.body.style.color is "rgba(0, 0, 0, 0.26)" | |
59 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.26)" | |
60 PASS document.body.style.color is "rgba(0, 0, 0, 0.27)" | |
61 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.27)" | |
62 PASS document.body.style.color is "rgba(0, 0, 0, 0.28)" | |
63 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.28)" | |
64 PASS document.body.style.color is "rgba(0, 0, 0, 0.29)" | |
65 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.29)" | |
66 PASS document.body.style.color is "rgba(0, 0, 0, 0.3)" | |
67 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.3)" | |
68 PASS document.body.style.color is "rgba(0, 0, 0, 0.31)" | |
69 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.31)" | |
70 PASS document.body.style.color is "rgba(0, 0, 0, 0.32)" | |
71 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.32)" | |
72 PASS document.body.style.color is "rgba(0, 0, 0, 0.33)" | |
73 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.33)" | |
74 PASS document.body.style.color is "rgba(0, 0, 0, 0.34)" | |
75 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.34)" | |
76 PASS document.body.style.color is "rgba(0, 0, 0, 0.35)" | |
77 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.35)" | |
78 PASS document.body.style.color is "rgba(0, 0, 0, 0.36)" | |
79 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.36)" | |
80 PASS document.body.style.color is "rgba(0, 0, 0, 0.37)" | |
81 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.37)" | |
82 PASS document.body.style.color is "rgba(0, 0, 0, 0.38)" | |
83 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.38)" | |
84 PASS document.body.style.color is "rgba(0, 0, 0, 0.39)" | |
85 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.39)" | |
86 PASS document.body.style.color is "rgba(0, 0, 0, 0.4)" | |
87 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.4)" | |
88 PASS document.body.style.color is "rgba(0, 0, 0, 0.41)" | |
89 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.41)" | |
90 PASS document.body.style.color is "rgba(0, 0, 0, 0.42)" | |
91 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.42)" | |
92 PASS document.body.style.color is "rgba(0, 0, 0, 0.43)" | |
93 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.43)" | |
94 PASS document.body.style.color is "rgba(0, 0, 0, 0.44)" | |
95 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.44)" | |
96 PASS document.body.style.color is "rgba(0, 0, 0, 0.45)" | |
97 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.45)" | |
98 PASS document.body.style.color is "rgba(0, 0, 0, 0.46)" | |
99 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.46)" | |
100 PASS document.body.style.color is "rgba(0, 0, 0, 0.47)" | |
101 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.47)" | |
102 PASS document.body.style.color is "rgba(0, 0, 0, 0.48)" | |
103 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.48)" | |
104 PASS document.body.style.color is "rgba(0, 0, 0, 0.49)" | |
105 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.49)" | |
106 PASS document.body.style.color is "rgba(0, 0, 0, 0.5)" | |
107 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.5)" | |
108 PASS document.body.style.color is "rgba(0, 0, 0, 0.51)" | |
109 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.51)" | |
110 PASS document.body.style.color is "rgba(0, 0, 0, 0.52)" | |
111 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.52)" | |
112 PASS document.body.style.color is "rgba(0, 0, 0, 0.53)" | |
113 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.53)" | |
114 PASS document.body.style.color is "rgba(0, 0, 0, 0.54)" | |
115 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.54)" | |
116 PASS document.body.style.color is "rgba(0, 0, 0, 0.55)" | |
117 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.55)" | |
118 PASS document.body.style.color is "rgba(0, 0, 0, 0.56)" | |
119 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.56)" | |
120 PASS document.body.style.color is "rgba(0, 0, 0, 0.57)" | |
121 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.57)" | |
122 PASS document.body.style.color is "rgba(0, 0, 0, 0.58)" | |
123 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.58)" | |
124 PASS document.body.style.color is "rgba(0, 0, 0, 0.59)" | |
125 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.59)" | |
126 PASS document.body.style.color is "rgba(0, 0, 0, 0.6)" | |
127 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.6)" | |
128 PASS document.body.style.color is "rgba(0, 0, 0, 0.61)" | |
129 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.61)" | |
130 PASS document.body.style.color is "rgba(0, 0, 0, 0.62)" | |
131 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.62)" | |
132 PASS document.body.style.color is "rgba(0, 0, 0, 0.63)" | |
133 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.63)" | |
134 PASS document.body.style.color is "rgba(0, 0, 0, 0.64)" | |
135 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.64)" | |
136 PASS document.body.style.color is "rgba(0, 0, 0, 0.65)" | |
137 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.65)" | |
138 PASS document.body.style.color is "rgba(0, 0, 0, 0.66)" | |
139 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.66)" | |
140 PASS document.body.style.color is "rgba(0, 0, 0, 0.67)" | |
141 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.67)" | |
142 PASS document.body.style.color is "rgba(0, 0, 0, 0.68)" | |
143 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.68)" | |
144 PASS document.body.style.color is "rgba(0, 0, 0, 0.69)" | |
145 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.69)" | |
146 PASS document.body.style.color is "rgba(0, 0, 0, 0.7)" | |
147 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.7)" | |
148 PASS document.body.style.color is "rgba(0, 0, 0, 0.71)" | |
149 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.71)" | |
150 PASS document.body.style.color is "rgba(0, 0, 0, 0.72)" | |
151 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.72)" | |
152 PASS document.body.style.color is "rgba(0, 0, 0, 0.73)" | |
153 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.73)" | |
154 PASS document.body.style.color is "rgba(0, 0, 0, 0.74)" | |
155 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.74)" | |
156 PASS document.body.style.color is "rgba(0, 0, 0, 0.75)" | |
157 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.75)" | |
158 PASS document.body.style.color is "rgba(0, 0, 0, 0.76)" | |
159 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.76)" | |
160 PASS document.body.style.color is "rgba(0, 0, 0, 0.77)" | |
161 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.77)" | |
162 PASS document.body.style.color is "rgba(0, 0, 0, 0.78)" | |
163 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.78)" | |
164 PASS document.body.style.color is "rgba(0, 0, 0, 0.79)" | |
165 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.79)" | |
166 PASS document.body.style.color is "rgba(0, 0, 0, 0.8)" | |
167 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.8)" | |
168 PASS document.body.style.color is "rgba(0, 0, 0, 0.81)" | |
169 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.81)" | |
170 PASS document.body.style.color is "rgba(0, 0, 0, 0.82)" | |
171 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.82)" | |
172 PASS document.body.style.color is "rgba(0, 0, 0, 0.83)" | |
173 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.83)" | |
174 PASS document.body.style.color is "rgba(0, 0, 0, 0.84)" | |
175 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.84)" | |
176 PASS document.body.style.color is "rgba(0, 0, 0, 0.85)" | |
177 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.85)" | |
178 PASS document.body.style.color is "rgba(0, 0, 0, 0.86)" | |
179 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.86)" | |
180 PASS document.body.style.color is "rgba(0, 0, 0, 0.87)" | |
181 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.87)" | |
182 PASS document.body.style.color is "rgba(0, 0, 0, 0.88)" | |
183 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.88)" | |
184 PASS document.body.style.color is "rgba(0, 0, 0, 0.89)" | |
185 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.89)" | |
186 PASS document.body.style.color is "rgba(0, 0, 0, 0.9)" | |
187 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.9)" | |
188 PASS document.body.style.color is "rgba(0, 0, 0, 0.91)" | |
189 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.91)" | |
190 PASS document.body.style.color is "rgba(0, 0, 0, 0.92)" | |
191 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.92)" | |
192 PASS document.body.style.color is "rgba(0, 0, 0, 0.93)" | |
193 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.93)" | |
194 PASS document.body.style.color is "rgba(0, 0, 0, 0.94)" | |
195 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.94)" | |
196 PASS document.body.style.color is "rgba(0, 0, 0, 0.95)" | |
197 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.95)" | |
198 PASS document.body.style.color is "rgba(0, 0, 0, 0.96)" | |
199 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.96)" | |
200 PASS document.body.style.color is "rgba(0, 0, 0, 0.97)" | |
201 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.97)" | |
202 PASS document.body.style.color is "rgba(0, 0, 0, 0.98)" | |
203 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.98)" | |
204 PASS document.body.style.color is "rgba(0, 0, 0, 0.99)" | |
205 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 0.99)" | |
206 0ASS document.body.style.color is "rgba(0, 0, 0, 1)" | |
207 PASS getComputedStyle(document.body).color is "rgba(0, 0, 0, 1)" | |
208 PASS successfullyParsed is true | |
209 | |
210 TEST COMPLETE | |
211 | |
OLD | NEW |