Test for chromium bug : 254914. Height of fixed height cell is not proper when cell's row is under 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 height=300px
FAIL:
Expected 57 for height, but got 35.
row1 col0 |
row1 col1 - rowspan=4 height=300px |
row2 col0
FAIL:
Expected 57 for height, but got 59.
row2 col0 |
row3 col0
PASS
row4 col0
PASS
row5 col0 row5 col1
PASS
Test 4 - One rowSpan cell and one cell have fixed height.
row0 col0
PASS
row1 col0 row1 col1 - rowspan=4 height=300px
FAIL:
Expected 60 for height, but got 33.
row1 col0 |
row1 col1 - rowspan=4 height=300px |
row2 col0
FAIL:
Expected 60 for height, but got 63.
row2 col0 |
row3 col0 height=40px
PASS
row4 col0
PASS
row5 col0 row5 col1
PASS
Test 5 - One rowSpan cell and one cell have percent height.
row0 col0
PASS
row1 col0 row1 col1 - rowspan=4 height=300px
FAIL:
Expected 23 for height, but got 19.
row1 col0 |
row1 col1 - rowspan=4 height=300px |
row2 col0 height=40%
FAIL:
Expected 183 for height, but got 156.
row2 col0 height=40% |
row3 col0
FAIL:
Expected 41 for height, but got 33.
row3 col0 |
row4 col0
FAIL:
Expected 47 for height, but got 48.
row4 col0 |
row5 col0 row5 col1
PASS
Test 6 - One rowSpan cell, one cell have percent height and another one cell have fixed height.
row0 col0
PASS
row1 col0 row1 col1 - rowspan=4 height=300px
PASS
row2 col0 height=40%
FAIL:
Expected 183 for height, but got 181.
row2 col0 height=40% |
row3 col0 height=40px
PASS
row4 col0
PASS
row5 col0 row5 col1
PASS
Test 7 - One rowSpan cell and two cells have percent height but total percent is less than 100.
row0 col0
PASS
row1 col0 row1 col1 - rowspan=4 height=300px
FAIL:
Expected 33 for height, but got 19.
row1 col0 |
row1 col1 - rowspan=4 height=300px |
row2 col0
FAIL:
Expected 37 for height, but got 19.
row2 col0 |
row3 col0 height=30%
FAIL:
Expected 131 for height, but got 149.
row3 col0 height=30% |
row4 col0 height=40%
FAIL:
Expected 142 for height, but got 143.
row4 col0 height=40% |
row5 col0 row5 col1
PASS
Test 8 - One rowSpan cell and three cells have percent height but total percent is more than 100.
row0 col0
PASS
row1 col0 height=60% row1 col1 - rowspan=4 height=300px
FAIL:
Expected 203 for height, but got 206.
row1 col0 height=60% |
row1 col1 - rowspan=4 height=300px |
row2 col0 height=40%
PASS
row3 col0
PASS
row4 col0 height=50%
PASS
row5 col0 row5 col1
PASS
Test 9 - One rowSpan cell and specified cells height.
row0 col0
PASS
row1 col0 height=70px row1 col1 - rowspan=4 height=500px
PASS
row2 col0 height=70px
PASS
row3 col0 height=30px
PASS
row4 col0 height=100px
PASS
row5 col0 height=50px row5 col1
PASS
Test 10 - 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 11 - 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 35.
row2 col0 - rowspan=4 vertical-align=text-top |
row2 col1 vertical-align=sub |
row3 col1 vertical-align=middle
FAIL:
Expected 77 for height, but got 79.
row3 col1 vertical-align=middle |
row4 col1 vertical-align=super
PASS
row5 col1 vertical-align=text-bottom
PASS
row6 col0
PASS
Test 12 - 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 13 - Table Similar to CSS table with rowspan.
row0 col0 row0 col1 row0 col2
FAIL:
Expected 21 for height, but got 19.
row0 col0 |
row0 col1 |
row0 col2 |
row1 col1 row1 col2 row1 col3
FAIL:
Expected 87 for height, but got 55.
row1 col1 |
row1 col2 |
row1 col3 |
row2 col3
FAIL:
Expected 96 for height, but got 84.
row2 col3 |
row3 col2
FAIL:
Expected 40 for height, but got 35.
row3 col2 |
row4 col1 row4 col2 row4 col3
FAIL:
Expected 24 for height, but got 38.
row4 col1 |
row4 col2 |
row4 col3 |
row5 col0 row5 col1 row5 col2
FAIL:
Expected 19 for height, but got 34.
row5 col0 |
row5 col1 |
row5 col2 |
row6 col0 row6 col1
PASS
row7 col1
FAIL:
Expected 37 for height, but got 23.
row7 col1 |
row8 col1
FAIL:
Expected 38 for height, but got 39.
row8 col1 |
row9 col1
PASS
row10 col1
PASS