Upstream version 11.39.266.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / table / table-all-rowspans-height-distribution-in-rows-except-overlapped-expected.txt
1 Test for chromium bug : 249600. Extra logical height is not properly spread over the rows in a row-spanning cell.
2
3 Rows in rowspan should get proportional height.
4
5 Test 1 - Three rowSpan cells
6
7 row0 col0
8 PASS
9 row1 col0 - rowspan=4   row1 col1
10 PASS
11 row2 col1
12 PASS
13 row3 col1
14 PASS
15 row4 col1
16 PASS
17 row5 col0
18 PASS
19 row6 col0
20 PASS
21 row7 col0       row7 col1 - rowspan=4
22 FAIL:
23 Expected 57 for height, but got 32. 
24
25 <tr data-expected-height="57">
26           <td>row7 col0</td>
27           <td rowspan="4" style="height:300px">row7 col1 - rowspan=4</td>
28         </tr>
29 row8 col0
30 FAIL:
31 Expected 57 for height, but got 58. 
32
33 <tr data-expected-height="57">
34       <td>row8 col0</td>
35     </tr>
36 row9 col0
37 PASS
38 row10 col0
39 PASS
40 row11 col0      row11 col1
41 PASS
42 row12 col0
43 PASS
44 row13 col0      row13 col1 - rowspan=4
45 FAIL:
46 Expected 59 for height, but got 60. 
47
48 <tr data-expected-height="59">
49           <td>row13 col0</td>
50           <td rowspan="4" style="height:300px">row13 col1 - rowspan=4</td>
51         </tr>
52 row14 col0
53 PASS
54 row15 col0
55 PASS
56 row16 col0
57 PASS
58 row17 col0      row17 col1
59 PASS
60 Test 2 - Three rowSpan cell and specified table width
61
62 row0 col0 - rowspan=5   row0 col1
63 PASS
64 row1 col1
65 PASS
66 row2 col1
67 PASS
68 row3 col1
69 PASS
70 row4 col1
71 PASS
72 row5 col0
73 PASS
74 row6 col0       row6 col1 - rowspan=4
75 FAIL:
76 Expected 57 for height, but got 32. 
77
78 <tr data-expected-height="57">
79           <td>row6 col0</td>
80           <td rowspan="4" style="height:300px">row6 col1 - rowspan=4</td>
81         </tr>
82 row7 col0
83 FAIL:
84 Expected 57 for height, but got 58. 
85
86 <tr data-expected-height="57">
87       <td>row7 col0</td>
88     </tr>
89 row8 col0
90 PASS
91 row9 col0
92 PASS
93 row10 col0      row10 col1
94 FAIL:
95 Expected 19 for height, but got 34. 
96
97 <tr data-expected-height="19">
98       <td>row10 col0</td>
99       <td>row10 col1</td>
100     </tr>
101 row11 col0
102 PASS
103 row12 col0      row12 col1 - rowspan=4
104 FAIL:
105 Expected 59 for height, but got 60. 
106
107 <tr data-expected-height="59">
108           <td>row12 col0</td>
109           <td rowspan="4" style="height:300px">row12 col1 - rowspan=4</td>
110         </tr>
111 row13 col0
112 PASS
113 row14 col0
114 PASS
115 row15 col0
116 PASS
117 row16 col0      row16 col1
118 PASS
119 Test 3 - Continuous 3 rowSpan cells
120
121 row0 col0
122 PASS
123 row1 col0 - rowspan=4   row1 col1
124 PASS
125 row2 col1
126 PASS
127 row3 col1
128 PASS
129 row4 col1
130 PASS
131 row5 col0       row5 col1 - rowspan=4
132 FAIL:
133 Expected 57 for height, but got 32. 
134
135 <tr data-expected-height="57">
136           <td>row5 col0</td>
137           <td rowspan="4" style="height:300px">row5 col1 - rowspan=4</td>
138         </tr>
139 row6 col0
140 FAIL:
141 Expected 57 for height, but got 58. 
142
143 <tr data-expected-height="57">
144       <td>row6 col0</td>
145     </tr>
146 row7 col0
147 PASS
148 row8 col0
149 PASS
150 row9 col0       row9 col1 - rowspan=4
151 FAIL:
152 Expected 59 for height, but got 60. 
153
154 <tr data-expected-height="59">
155           <td>row9 col0</td>
156           <td rowspan="4" style="height:300px">row9 col1 - rowspan=4</td>
157         </tr>
158 row10 col0
159 PASS
160 row11 col0
161 PASS
162 row12 col0
163 PASS
164 row13 col0      row13 col1
165 PASS
166 Test 4 - Two rowSpan cells, 2 rows in first spanning cell have percent height and 2 rows in second spanning cell have fixed height
167
168 row0 col0
169 PASS
170 row1 col0 - rowspan=4   row1 col1
171 FAIL:
172 Expected 21 for height, but got 19. 
173
174 <tr data-expected-height="21">
175           <td rowspan="4" style="height:300px">row1 col0 - rowspan=4</td>
176           <td>row1 col1</td>
177         </tr>
178 row2 col1
179 FAIL:
180 Expected 199 for height, but got 219. 
181
182 <tr data-expected-height="199" style="height:20%">
183       <td>row2 col1</td>
184     </tr>
185 row3 col1
186 PASS
187 row4 col1
188 FAIL:
189 Expected 74 for height, but got 58. 
190
191 <tr data-expected-height="74" style="height:30%">
192       <td>row4 col1</td>
193     </tr>
194 row5 col0
195 PASS
196 row6 col0
197 PASS
198 row7 col0       row7 col1 - rowspan=4
199 FAIL:
200 Expected 58 for height, but got 59. 
201
202 <tr data-expected-height="58">
203           <td>row7 col0</td>
204           <td rowspan="4" style="height:300px">row7 col1 - rowspan=4</td>
205         </tr>
206 row8 col0
207 PASS
208 row9 col0
209 PASS
210 row10 col0
211 PASS
212 row11 col0      row11 col1
213 PASS
214 row12 col0
215 PASS
216 Test 5 - Two rowSpan cells, in first spanning cell, 2 rows have percent height and 2 rows have fixed height and in second spanning cell, 1 row have fixed height, 1 row have percent height and remaining are auto.
217
218 row0 col0
219 PASS
220 row1 col0 - rowspan=4   row1 col1
221 PASS
222 row2 col1
223 FAIL:
224 Expected 152 for height, but got 153. 
225
226 <tr data-expected-height="152" style="height:20%">
227       <td>row2 col1</td>
228     </tr>
229 row3 col1
230 PASS
231 row4 col1
232 PASS
233 row5 col0
234 PASS
235 row6 col0
236 PASS
237 row7 col0       row7 col1 - rowspan=4
238 PASS
239 row8 col0
240 FAIL:
241 Expected 218 for height, but got 144. 
242
243 <tr data-expected-height="218" style="height:30%">
244       <td>row8 col0</td>
245     </tr>
246 row9 col0
247 FAIL:
248 Expected 20 for height, but got 21. 
249
250 <tr data-expected-height="20">
251       <td>row9 col0</td>
252     </tr>
253 row10 col0
254 PASS
255 row11 col0      row11 col1
256 PASS
257 row12 col0
258 PASS
259 Test 6 - RowSpan and ColSpan.
260
261 row0 col0       row0 col1 - rowspan=3 colspan=2 row0 col2
262 PASS
263 row1 col0
264 PASS
265 row2 col0
266 PASS
267 row3 col0 - colspan=3
268 PASS
269 row4 col0
270 PASS
271 Test 7 - Mix of baseline aligned and non-baseline aligned cells.
272
273 row0 col0       row0 col1 vertical-align=top    row0 col2 vertical-align=bottom
274 PASS
275 row1 col0
276 PASS
277 row2 col0 - rowspan=4 vertical-align=text-top   row2 col1 vertical-align=sub
278 FAIL:
279 Expected 77 for height, but got 32. 
280
281 <tr data-expected-height="77">
282       <td rowspan="4" style="vertical-align:text-top; height:300px">row2 col0 - rowspan=4 vertical-align=text-top</td>
283       <td style="vertical-align:sub">row2 col1 vertical-align=sub</td>
284     </tr>
285 row3 col1 vertical-align=middle
286 FAIL:
287 Expected 77 for height, but got 78. 
288
289 <tr data-expected-height="77">
290       <td style="vertical-align:middle">row3 col1 vertical-align=middle</td>
291     </tr>
292 row4 col1 vertical-align=super
293 PASS
294 row5 col1 vertical-align=text-bottom
295 PASS
296 row6 col0
297 PASS
298 Test 8 - CSS Table.
299
300 row0 col0       row0 col1       row0 col2
301 row1 col0       row1 col1       row1 col2
302 row2 col0
303 row3 col0
304 row4 col0       row4 col1       row4 col2
305 row5 col0       row5 col1       row5 col2
306 row6 col0       row6 col1
307 row7 col0
308 row8 col0
309 row9 col0
310 row10 col0
311 Test 9 - Table Similar to CSS table with rowspan.
312
313 row0 col0       row0 col1       row0 col2
314 FAIL:
315 Expected 21 for height, but got 19. 
316
317 <tr data-expected-height="21">
318         <td rowspan="5" style="height:300px">row0 col0</td>
319         <td>row0 col1</td>
320         <td>row0 col2</td>
321     </tr>
322 row1 col1       row1 col2       row1 col3
323 FAIL:
324 Expected 87 for height, but got 59. 
325
326 <tr data-expected-height="87">
327         <td rowspan="3" style="height:200px">row1 col1</td>
328         <td rowspan="2" style="height:100px">row1 col2</td>
329         <td>row1 col3</td>
330     </tr>
331 row2 col3
332 FAIL:
333 Expected 96 for height, but got 95. 
334
335 <tr data-expected-height="96">
336         <td>row2 col3</td>
337     </tr>
338 row3 col2
339 PASS
340 row4 col1       row4 col2       row4 col3
341 PASS
342 row5 col0       row5 col1       row5 col2
343 PASS
344 row6 col0       row6 col1
345 PASS
346 row7 col1
347 FAIL:
348 Expected 37 for height, but got 38. 
349
350 <tr data-expected-height="37">
351         <td>row7 col1</td>
352     </tr>
353 row8 col1
354 PASS
355 row9 col1
356 PASS
357 row10 col1
358 PASS