1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/abs-pos/table-internal-7-ref.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,69 @@ 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: 50px; 1.12 + height: 50px; 1.13 + border-collapse: collapse; 1.14 + background-color: blue; 1.15 + } 1.16 + td { 1.17 + margin: 0; 1.18 + padding: 0; 1.19 + height: 25px; 1.20 + } 1.21 + #rel { 1.22 + position: relative; 1.23 + margin: 0; 1.24 + padding: 0; 1.25 + } 1.26 + #abs { 1.27 + position: absolute; 1.28 + margin: 0; 1.29 + padding: 0; 1.30 + bottom: 25px; 1.31 + right: 10px; 1.32 + width: 50px; 1.33 + height: 50px; 1.34 + background-color: green; 1.35 + } 1.36 + #bottomright { 1.37 + position: absolute; 1.38 + margin: 0; 1.39 + padding: 0; 1.40 + bottom: 0; 1.41 + right: 0; 1.42 + width: 50px; 1.43 + height: 50px; 1.44 + overflow: visible; 1.45 + background-color: red; 1.46 + } 1.47 + </style> 1.48 + </head> 1.49 + <body> 1.50 + The green square should not overlap the blue square. 1.51 + <div id="bottomright"> 1.52 + <table> 1.53 + <colgroup> 1.54 + <col style="width: 20%"> 1.55 + <col> 1.56 + </colgroup> 1.57 + <tr> 1.58 + <td></td> 1.59 + <td></td> 1.60 + </tr> 1.61 + <tr> 1.62 + <td> 1.63 + <div id="rel" style="height: 25px"> 1.64 + <div id="abs"></div> 1.65 + </div> 1.66 + </td> 1.67 + <td></td> 1.68 + </tr> 1.69 + </table> 1.70 + </div> 1.71 + </body> 1.72 +</html>