1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/abs-pos/table-row-group-7.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,67 @@ 1.4 +<!DOCTYPE html> 1.5 +<html> 1.6 + <head> 1.7 + <style> 1.8 + table { 1.9 + margin: 0; 1.10 + padding: 0; 1.11 + width: 25px; 1.12 + height: 50px; 1.13 + border-collapse: collapse; 1.14 + } 1.15 + td { 1.16 + margin: 0; 1.17 + padding: 0; 1.18 + } 1.19 + #rel { 1.20 + position: relative; 1.21 + margin: 0; 1.22 + padding: 0; 1.23 + } 1.24 + #abs { 1.25 + position: absolute; 1.26 + margin: 0; 1.27 + padding: 0; 1.28 + bottom: 25px; 1.29 + right: 25px; 1.30 + width: 50px; 1.31 + height: 50px; 1.32 + background-color: green; 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 + background-color: blue; 1.44 + } 1.45 + </style> 1.46 + </head> 1.47 + <body> 1.48 + The green square should not overlap the blue square. 1.49 + <div id="bottomright"> 1.50 + <table> 1.51 + <colgroup> 1.52 + <col style="width: 20%"> 1.53 + <col> 1.54 + </colgroup> 1.55 + <tbody id="rel"> 1.56 + <tr> 1.57 + <td></td> 1.58 + <td></td> 1.59 + </tr> 1.60 + <tr> 1.61 + <td> 1.62 + <div id="abs"></div> 1.63 + </td> 1.64 + <td></td> 1.65 + </tr> 1.66 + </tbody> 1.67 + </table> 1.68 + </div> 1.69 + </body> 1.70 +</html>