1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/bugs/371925-1a.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,22 @@ 1.4 +<!DOCTYPE html> 1.5 +<html> 1.6 +<body> 1.7 + 1.8 +<table id="theTable" border="1"><thead id="thead"> 1.9 + <tr><th>Header</th></tr> 1.10 + </thead> 1.11 + <tfoot id="tfoot"><tr><th>Footer</th></tr></tfoot> 1.12 + <tbody><tr><td id="body">BODY</td></tr></tbody> 1.13 +</table> 1.14 + 1.15 +<script> 1.16 +var style = document.getElementById('tfoot').style; 1.17 +style.display = "none"; 1.18 +document.body.offsetWidth; 1.19 +style.display = "table-footer-group"; 1.20 +document.body.offsetWidth; 1.21 +style.display = "none"; 1.22 +</script> 1.23 + 1.24 +</body> 1.25 +</html>