1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/abs-pos/table-row-5.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,62 @@ 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 + #rel { 1.24 + position: relative; 1.25 + } 1.26 + .abs { 1.27 + position: absolute; 1.28 + margin: 0; 1.29 + padding: 0; 1.30 + bottom: 25px; 1.31 + right: 25px; 1.32 + width: 50px; 1.33 + height: 50px; 1.34 + background-color: green; 1.35 + } 1.36 + #bad { 1.37 + background-color: blue; 1.38 + } 1.39 + #bottomright { 1.40 + position: absolute; 1.41 + margin: 0; 1.42 + padding: 0; 1.43 + bottom: 0; 1.44 + right: 0; 1.45 + width: 100px; 1.46 + height: 100px; 1.47 + overflow: visible; 1.48 + } 1.49 + </style> 1.50 + </head> 1.51 + <body> 1.52 + The green square should not completely cover the blue square. 1.53 + <div class="abs" id="bad"></div> 1.54 + <div id="bottomright"> 1.55 + <table> 1.56 + <tr id="rel"> 1.57 + <td> 1.58 + <div class="abs"></div> 1.59 + </td> 1.60 + </tr> 1.61 + <tr></tr> 1.62 + </table> 1.63 + </div> 1.64 + </body> 1.65 +</html>