1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/tables/crashtests/331446-1.xhtml Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,42 @@ 1.4 +<html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait"> 1.5 +<head> 1.6 + 1.7 +<style id="styles"></style> 1.8 + 1.9 +<script> 1.10 + 1.11 +window.addEventListener("load", f1, false); 1.12 + 1.13 +function f1() 1.14 +{ 1.15 + document.getElementById("div2").setAttribute("style", "position: absolute;"); 1.16 + document.getElementById("table").setAttribute("style", "width: 200%;"); 1.17 + setTimeout(f2, 30); 1.18 +} 1.19 + 1.20 +function f2() 1.21 +{ 1.22 + document.getElementById("styles").textContent = ".thisMatchesNothing { }"; 1.23 + document.documentElement.removeAttribute("class"); 1.24 +} 1.25 + 1.26 +</script> 1.27 + 1.28 +</head> 1.29 + 1.30 +<body style="position: relative; -moz-column-width: 1px;"> 1.31 + 1.32 +<table id="table"> 1.33 + <tr> 1.34 + <td>Table</td> 1.35 + </tr> 1.36 +</table> 1.37 + 1.38 +<div>A</div> 1.39 + 1.40 +<div id="div2">B</div> 1.41 + 1.42 +<div style="display: table; width: 200%;">C</div> 1.43 + 1.44 +</body> 1.45 +</html>