summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/table/fixed-table-layout/empty-table-should-take-no-space-fixed-layout.html
blob: c0b544f4ac7cc86a6854c7d70b5381450857b0b1 (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
31
32
33
34
35
36
37
38
39
40
41
<!DOCTYPE html>
<html>
<body>
<style>
span {
    background-color: green;
    color: green;
}

.sandwich {
    background-color: green;
    color: green;
    height: 20px;
    width: 20px;
}

.inline-table {
    display: inline-table;
    table-layout: fixed;
    border-spacing: 20px;
    background-color: red;
}

table {
    background-color: red;
}
</style>
<div>Bug <a href="https://webkit.org/b/95521">95521</a>: Tables without any descendant and auto logical width should have a 0px logical width</div>
<div>Description: This test checks that an auto table without any cells doesn't take any space.</div>
<div>There should be 2 green horizontal rectangles with no empty or red space below.</div>
<div>
    <span>xxxxx</span><div class="inline-table"></div><span>xxxxx</span>
</div>
<br>
<div style="-webkit-writing-mode: vertical-lr">
    <div class="sandwich"></div>
    <table cellspacing="20px" style="table-layout: fixed"></table>
    <div class="sandwich"></div>
<div>
</body>
</html>