1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/abs-pos/table-internal-5-ref.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,52 @@ 1.4 +<!DOCTYPE html> 1.5 +<html> 1.6 + <head> 1.7 + <style> 1.8 + #rel { 1.9 + position: relative; 1.10 + margin: 0; 1.11 + padding: 0; 1.12 + bottom: 25px; 1.13 + right: 25px; 1.14 + width: 50px; 1.15 + height: 50px; 1.16 + } 1.17 + .abs { 1.18 + position: absolute; 1.19 + margin: 0; 1.20 + padding: 0; 1.21 + bottom: 25px; 1.22 + right: 25px; 1.23 + width: 50px; 1.24 + height: 50px; 1.25 + background-color: green; 1.26 + } 1.27 + #adjusted-abs { 1.28 + bottom: 50px; 1.29 + right: 50px; 1.30 + } 1.31 + #bad { 1.32 + background-color: blue; 1.33 + } 1.34 + #bottomright { 1.35 + position: absolute; 1.36 + margin: 0; 1.37 + padding: 0; 1.38 + bottom: 0; 1.39 + right: 0; 1.40 + width: 50px; 1.41 + height: 50px; 1.42 + overflow: visible; 1.43 + } 1.44 + </style> 1.45 + </head> 1.46 + <body> 1.47 + The green square should not completely cover the blue square. 1.48 + <div class="abs" id="bad"></div> 1.49 + <div id="bottomright"> 1.50 + <div id="rel"> 1.51 + <div class="abs" id="adjusted-abs"></div> 1.52 + </div> 1.53 + </div> 1.54 + </body> 1.55 +</html>