summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/98223-2.html
blob: 3f28c6c7b1614312f6a3912b540474e82d8efb00 (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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
             "http://www.w3.org/TR/html4/loose.dtd">

<html lang="en">
<head>
<title>Testcase #2 for bug 98223</title>

<style type="text/css">

        .outer { padding-left:75%; height:100px; width:50px; background: yellow; }
        .inner { position:absolute; height:50px; width:50px; background-color:lime; }
        .red   { position:absolute; height:50px; width:50px; background-color:red; top:0;right:0}

</style>


</head>
<body>

 <div style="position:absolute; width:200px">
  <div class="outer">
   <div class="red"></div>
   <div class="inner"></div>
  </div>
 </div>

</body>
</html>