layout/tables/crashtests/460637-3.xhtml

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/tables/crashtests/460637-3.xhtml	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,26 @@
     1.4 +<html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait">
     1.5 +<head><script type="text/javascript">
     1.6 +<![CDATA[
     1.7 +
     1.8 +  function boom() {
     1.9 +    const HTML_NS = "http://www.w3.org/1999/xhtml";
    1.10 +    var tr4 = document.createElementNS(HTML_NS, 'tr');
    1.11 +    document.getElementById('tbody1').appendChild(tr4);
    1.12 +    var span1 = document.createElementNS(HTML_NS, 'td');
    1.13 +    tr4.insertBefore(span1, null);
    1.14 +    document.documentElement.removeAttribute("class");
    1.15 +  }
    1.16 +
    1.17 +  function ol(e) {
    1.18 +    window.removeEventListener("load", ol, false);
    1.19 +    setTimeout(boom, 400);
    1.20 +  }
    1.21 +
    1.22 +  window.addEventListener("load", ol, false);
    1.23 +
    1.24 +]]>
    1.25 +</script>
    1.26 +</head>
    1.27 +
    1.28 +<body><table><tbody id="tbody1"><tr><td rowspan="0"></td></tr></tbody></table></body>
    1.29 +</html>

mercurial