blob: 6159df1a4e625546e7b5ecce4b3e4951242bdd99 [file] [log] [blame]
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
PASS
row2 col0
PASS
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
PASS
row2 col0
PASS
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
PASS
row2 col0 height=40%
PASS
row3 col0
PASS
row4 col0
PASS
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%
PASS
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
PASS
row2 col0
PASS
row3 col0 height=30%
PASS
row4 col0 height=40%
PASS
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
PASS
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
PASS
row3 col1 vertical-align=middle
PASS
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
PASS
row1 col1 row1 col2 row1 col3
PASS
row2 col3
PASS
row3 col2
PASS
row4 col1 row4 col2 row4 col3
PASS
row5 col0 row5 col1 row5 col2
PASS
row6 col0 row6 col1
PASS
row7 col1
PASS
row8 col1
PASS
row9 col1
PASS
row10 col1
PASS