1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/abs-pos/table-row-1.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,36 @@ 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 + } 1.13 + .abs { 1.14 + position: absolute; 1.15 + margin: 0; 1.16 + padding: 0; 1.17 + top: 25px; 1.18 + left: 25px; 1.19 + width: 50px; 1.20 + height: 50px; 1.21 + background-color: green; 1.22 + } 1.23 + #bad { 1.24 + background-color: blue; 1.25 + } 1.26 + </style> 1.27 + </head> 1.28 + <body> 1.29 + The green square should not completely cover the blue square. 1.30 + <div class="abs" id="bad"></div> 1.31 + <table> 1.32 + <tr id="rel"> 1.33 + <td> 1.34 + <div class="abs"></div> 1.35 + </td> 1.36 + </tr> 1.37 + </table> 1.38 + </body> 1.39 +</html>