summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/table/edge-offsets.html
blob: c364f8d46596d49b877268085948a4683b51493c (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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<html>
<head>
    <title></title>
    <style type="text/css">
        div.overflow {
            overflow: auto;
            width: 100px;
            height: 100px;
            border: solid blue 1px;
        }
        div.container {
            position: relative;
        }
        div.abs {
            position: absolute;
            width: 60px;
            height: 60px;
            background: silver; 
        }
    </style>
</head>
<body>
    <p>
        This tests for a regression against
        <i><a href="https://bugs.webkit.org/show_bug.cgi?id=7054">http://bugzilla.opendarwin.org/show_bug.cgi?id=7054</a>
        Vertical scroll bars do not appear or do not scroll completely</i>.
    </p>
    <p>
        The top two boxes should have horizontal scroll bars. The bottom box should have a vertical scroll bar.
    </p>
    <hr>
    <div class="overflow">
        <table>
            <tr>
                <td>
                    <div class="container">
                        <div class="abs" style="left: 70px;"></div>
                    </div>
                </td>
            </tr>
        </table>
    </div>
    <br>
    <div class="overflow" style="direction: rtl;">
        <table>
            <tr>
                <td>
                    <div class="container">
                        <div class="abs" style="right: 70px;"></div>
                    </div>
                </td>
            </tr>
        </table>
    </div>
    <br>
    <div class="overflow">
        <table>
            <tr>
                <td>
                    <div class="container">
                        <div class="abs" style="top: 70px;"></div>
                    </div>
                </td>
            </tr>
        </table>
    </div>
</body>
</html>