summaryrefslogtreecommitdiff
path: root/Tests/LibWeb/Layout/input/table/rows-height-distribution-2.html
blob: 366ed4c181287c112f2c735457f68c1200a249f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<style>
* {
    font-family: 'SerenitySans';
}

.table {
    display: table;
    width: 200px;
    height: 300px;
    background-color: darkgoldenrod;
}

.row {
    display: table-row;
}

.cell {
    display: table-cell;
}

.a {
    height: 50%;
    background-color: darkcyan;
}

.b {
    background-color: orangered;
}
</style>
<div class="table"><div class="row a"><div class="cell"></div></div><div class="row b"><div class="cell"></div></div></div>