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