1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/abs-pos/table-header-group-4.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,54 @@ 1.4 +<!DOCTYPE html> 1.5 +<html> 1.6 + <head> 1.7 + <style> 1.8 + table { 1.9 + width: 300px; 1.10 + height: 300px; 1.11 + background-color: blue; 1.12 + } 1.13 + td { 1.14 + margin: 0; 1.15 + padding: 0; 1.16 + } 1.17 + #rel { 1.18 + position: relative; 1.19 + margin: 0; 1.20 + padding: 0; 1.21 + } 1.22 + #abs { 1.23 + position: absolute; 1.24 + margin: 0; 1.25 + padding: 0; 1.26 + top: 200px; 1.27 + left: 25px; 1.28 + width: 50px; 1.29 + height: 50px; 1.30 + background-color: green; 1.31 + } 1.32 + </style> 1.33 + </head> 1.34 + <body> 1.35 + The green square should not touch the blue square. 1.36 + <table> 1.37 + <colgroup> 1.38 + <col style="width: 15%"> 1.39 + <col> 1.40 + </colgroup> 1.41 + <thead> 1.42 + <tr> 1.43 + <td></td> 1.44 + <td></td> 1.45 + </tr> 1.46 + </thead> 1.47 + <thead id="rel"> 1.48 + <tr> 1.49 + <td></td> 1.50 + <td> 1.51 + <div id="abs"></div> 1.52 + </td> 1.53 + </tr> 1.54 + </thead> 1.55 + </table> 1.56 + </body> 1.57 +</html>