98223-2.html (661B)
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 2 "http://www.w3.org/TR/html4/loose.dtd"> 3 4 <html lang="en"> 5 <head> 6 <title>Testcase #2 for bug 98223</title> 7 8 <style type="text/css"> 9 10 .outer { padding-left:75%; height:100px; width:50px; background: yellow; } 11 .inner { position:absolute; height:50px; width:50px; background-color:lime; } 12 .red { position:absolute; height:50px; width:50px; background-color:red; top:0;right:0} 13 14 </style> 15 16 17 </head> 18 <body> 19 20 <div style="position:absolute; width:200px"> 21 <div class="outer"> 22 <div class="red"></div> 23 <div class="inner"></div> 24 </div> 25 </div> 26 27 </body> 28 </html>