| Test for chromium bug : 78724. Extra logical height is not properly spread over the rows in a row-spanning cell. |
| Rows in rowspan should get proportional height. |
| Test 1 - One rowSpan cell |
| row0 col0 |
| |
| PASS |
| row1 col0 - rowspan=4 row1 col1 |
| |
| PASS |
| row2 col1 |
| |
| PASS |
| row3 col1 |
| |
| PASS |
| row4 col1 |
| |
| PASS |
| row5 col0 |
| |
| PASS |
| Test 2 - One rowSpan cell and specified table width |
| row0 col0 - rowspan=5 row0 col1 |
| |
| PASS |
| row1 col1 |
| |
| PASS |
| row2 col1 |
| |
| PASS |
| row3 col1 |
| |
| PASS |
| row4 col1 |
| |
| PASS |
| Test 3 - One rowSpan cell and specified rowSpan cell height |
| row0 col0 |
| |
| PASS |
| row1 col0 row1 col1 - rowspan=4 |
| |
| FAIL: |
| Expected 57 for height, but got 32. |
| |
| <tr data-expected-height="57"> |
| <td>row1 col0</td> |
| <td rowspan="4" style="height:300px">row1 col1 - rowspan=4</td> |
| </tr> |
| row2 col0 |
| |
| FAIL: |
| Expected 57 for height, but got 58. |
| |
| <tr data-expected-height="57"> |
| <td>row2 col0</td> |
| </tr> |
| row3 col0 |
| |
| PASS |
| row4 col0 |
| |
| PASS |
| row5 col0 row5 col1 |
| |
| PASS |
| Test 4 - One rowSpan cell and specified cells height |
| row0 col0 |
| |
| PASS |
| row1 col0 row1 col1 - rowspan=4 |
| |
| FAIL: |
| Expected 59 for height, but got 60. |
| |
| <tr data-expected-height="59"> |
| <td>row1 col0</td> |
| <td rowspan="4" style="height:300px">row1 col1 - rowspan=4</td> |
| </tr> |
| row2 col0 |
| |
| PASS |
| row3 col0 |
| |
| PASS |
| row4 col0 |
| |
| PASS |
| row5 col0 row5 col1 |
| |
| PASS |
| Test 5 - RowSpan and ColSpan. |
| row0 col0 row0 col1 - rowspan=3 colspan=2 row0 col2 |
| |
| PASS |
| row1 col0 |
| |
| PASS |
| row2 col0 |
| |
| PASS |
| row3 col0 - colspan=3 |
| |
| PASS |
| row4 col0 |
| |
| PASS |
| Test 6 - Mix of baseline aligned and non-baseline aligned cells. |
| row0 col0 row0 col1 vertical-align=top row0 col2 vertical-align=bottom |
| |
| PASS |
| row1 col0 |
| |
| PASS |
| row2 col0 - rowspan=4 vertical-align=text-top row2 col1 vertical-align=sub |
| |
| FAIL: |
| Expected 77 for height, but got 32. |
| |
| <tr data-expected-height="77"> |
| <td rowspan="4" style="vertical-align:text-top; height:300px">row2 col0 - rowspan=4 vertical-align=text-top</td> |
| <td style="vertical-align:sub">row2 col1 vertical-align=sub</td> |
| </tr> |
| row3 col1 vertical-align=middle |
| |
| FAIL: |
| Expected 77 for height, but got 78. |
| |
| <tr data-expected-height="77"> |
| <td style="vertical-align:middle">row3 col1 vertical-align=middle</td> |
| </tr> |
| row4 col1 vertical-align=super |
| |
| PASS |
| row5 col1 vertical-align=text-bottom |
| |
| PASS |
| row6 col0 |
| |
| PASS |
| Test 7 - CSS Table. |
| row0 col0 row0 col1 row0 col2 |
| row1 col0 row1 col1 row1 col2 |
| row2 col0 |
| row3 col0 |
| row4 col0 row4 col1 row4 col2 |
| row5 col0 row5 col1 row5 col2 |
| row6 col0 row6 col1 |
| row7 col0 |
| row8 col0 |
| row9 col0 |
| row10 col0 |
| Test 8 - Table Similar to CSS table with rowspan. |
| row0 col0 row0 col1 row0 col2 |
| |
| FAIL: |
| Expected 21 for height, but got 19. |
| |
| <tr data-expected-height="21"> |
| <td rowspan="5" style="height:300px">row0 col0</td> |
| <td>row0 col1</td> |
| <td>row0 col2</td> |
| </tr> |
| row1 col1 row1 col2 row1 col3 |
| |
| FAIL: |
| Expected 87 for height, but got 52. |
| |
| <tr data-expected-height="87"> |
| <td rowspan="3" style="height:200px">row1 col1</td> |
| <td rowspan="2" style="height:100px">row1 col2</td> |
| <td>row1 col3</td> |
| </tr> |
| row2 col3 |
| |
| FAIL: |
| Expected 96 for height, but got 84. |
| |
| <tr data-expected-height="96"> |
| <td>row2 col3</td> |
| </tr> |
| row3 col2 |
| |
| FAIL: |
| Expected 40 for height, but got 35. |
| |
| <tr data-expected-height="40"> |
| <td>row3 col2</td> |
| </tr> |
| row4 col1 row4 col2 row4 col3 |
| |
| FAIL: |
| Expected 24 for height, but got 38. |
| |
| <tr data-expected-height="24"> |
| <td>row4 col1</td> |
| <td>row4 col2</td> |
| <td>row4 col3</td> |
| </tr> |
| row5 col0 row5 col1 row5 col2 |
| |
| FAIL: |
| Expected 19 for height, but got 34. |
| |
| <tr data-expected-height="19"> |
| <td>row5 col0</td> |
| <td>row5 col1</td> |
| <td>row5 col2</td> |
| </tr> |
| row6 col0 row6 col1 |
| |
| FAIL: |
| Expected 74 for height, but got 76. |
| |
| <tr data-expected-height="74"> |
| <td rowspan="5" style="height:200px">row6 col0</td> |
| <td rowspan="5" style="height:100px">row6 col1</td> |
| </tr> |
| row7 col1 |
| |
| PASS |
| row8 col1 |
| |
| PASS |
| row9 col1 |
| |
| PASS |
| row10 col1 |
| |
| PASS |