1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/bugs/404309-1b.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,27 @@ 1.4 +<!DOCTYPE html> 1.5 +<html> 1.6 +<head> 1.7 +<style> 1.8 +table { background: white } 1.9 +colgroup { background: green } 1.10 +td { color: white } 1.11 +</style> 1.12 +</head> 1.13 +<body onload="runTest()"> 1.14 + <table> 1.15 + <colgroup id="x" span="3"> 1.16 + <tr> 1.17 + <td>One</td> 1.18 + <td>Two</td> 1.19 + <td>Three</td> 1.20 + </tr> 1.21 + </table> 1.22 + 1.23 + <script> 1.24 + function runTest() { 1.25 + document.body.offsetWidth; 1.26 + document.getElementById("x").setAttribute("span", 2); 1.27 + } 1.28 + </script> 1.29 +</body> 1.30 +</html>