1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/table-width/dynamic-fixed-layout-1.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,27 @@ 1.4 +<!DOCTYPE html> 1.5 +<html class="reftest-wait"> 1.6 + <!-- The fixed height on the body is in fact needed to reproduce bug 735579 1.7 + for some reason --> 1.8 + <body style="height: 100px;"> 1.9 + <script> 1.10 + window.onload = function() { 1.11 + var target = document.getElementById("test-target"); 1.12 + window.targetWidth = target.getBoundingClientRect().width; 1.13 + target.style.width = "100px"; 1.14 + document.documentElement.className = ""; 1.15 + } 1.16 + </script> 1.17 + <table style="width: 250px; table-layout: fixed;"> 1.18 + <tr> 1.19 + <td style="width: 100px; background: #CC99CC;">A</td> 1.20 + <td id="test-target" style="background: #99CCCC;">B</td> 1.21 + <td style="background: #CCCC99;">C</td> 1.22 + </tr> 1.23 + <tr> 1.24 + <td style="background: #CC99CC;">D</td> 1.25 + <td style="background: #99CCCC;">E</td> 1.26 + <td style="background: #CCCC99;">F</td> 1.27 + </tr> 1.28 + </table> 1.29 + </body> 1.30 +</html>