summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/block/positioning/negative-right-pos.html
blob: 0d1a74c1eb0546ca18dfe6563d617ab3d59f8eb1 (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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>
Reduced test case for bug 10719
</title>
</head>
<style type="text/css">
<!--
    #wrapper {
        position:relative; 
        
        width:300px; 
        height:400px;
        background: red;
    }
    
    #inner {
        overflow: hidden; 
        position: absolute; 
        right: -150px; 
        
        width: 200px; 
        height: 400px; 
        background: green;
    }
-->
</style>
<body>
            If you see any red below the test has failed.
<div id="wrapper">
<div id="inner">
</div>
<table align="left" width="250" cellpadding=0 cellspacing=0 height=400 bgcolor=green>
<tbody>
<tr>
<td>
                                        </td>
</tr>
</tbody>
</table>
</div>
</body>
</html>