summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/table/overflowScroll-display-block.html
blob: 3f9b00a823285964dc360c60c41a88d23989e5fa (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
<!DOCTYPE html>
<style>
.scrollingElement
{
    width: 100px;
    height: 100px;
    background-color: green;
    overflow: scroll;
    display: block;
}
table
{
    margin-bottom: 35px;
}
</style>
<table class="scrollingElement" cellspacing=0>
    <tbody>
        <tr><td></td></tr>
    </tbody>
</table>
<table cellspacing=0>
    <tbody class="scrollingElement">
        <tr><td></td></tr>
    </tbody>
</table>
<table cellspacing=0>
    <tbody>
        <tr class="scrollingElement"><td></td></tr>
    </tbody>
</table>
<p> crbug.com/368699: When table elements have display: block, they should be allowed to have overflow:scroll. The exception is the table element, which doesn't permit anything other than visible per http://dev.w3.org/csswg/css2/visufx.html#overflow.</p>