layout/reftests/bugs/363370-1.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/bugs/363370-1.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,32 @@
     1.4 +<html class="reftest-wait"><head>
     1.5 +<title>Testcase bug 363370 - [reflow branch] Crash [@ nsTArray_base::ShiftData] with testcase that appends table cells</title>
     1.6 +</head>
     1.7 +<body>
     1.8 +
     1.9 +<table border>
    1.10 +<thead id="b"><tr><td rowspan="3">td</td></tr></thead>
    1.11 +<tbody colspan="1" id="f"><tr></tr></tbody></table>
    1.12 +
    1.13 +<script>
    1.14 +function doe()  {
    1.15 +
    1.16 +
    1.17 +var x=document.createElement('td');
    1.18 +var text = document.createTextNode("td");
    1.19 +x.appendChild(text);
    1.20 +
    1.21 +document.getElementById('b').appendChild(x);
    1.22 +
    1.23 +
    1.24 +var y=document.createElement('td');
    1.25 +var t2 = document.createTextNode("td");
    1.26 + y.appendChild(t2);
    1.27 +
    1.28 +
    1.29 +document.getElementById('f').appendChild(y);
    1.30 +document.documentElement.removeAttribute('class');
    1.31 +}
    1.32 +document.addEventListener("MozReftestInvalidate", doe, false);
    1.33 +</script>
    1.34 +</body>
    1.35 +</html>

mercurial