layout/tables/crashtests/423514-1.xhtml

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/tables/crashtests/423514-1.xhtml	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,35 @@
     1.4 +<html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait">
     1.5 +<head>
     1.6 +<script type="text/javascript">
     1.7 +
     1.8 +window.addEventListener("load", boom, false);
     1.9 +
    1.10 +function boom()
    1.11 +{
    1.12 +  var d = document.getElementById("d");
    1.13 +
    1.14 +  var c = document.createElement("td");
    1.15 +  c.setAttribute("rowspan", 2);
    1.16 +  d.parentNode.insertBefore(c, d);
    1.17 +
    1.18 +  document.getElementById("d").focus();
    1.19 +  
    1.20 +  // Wait long enough for the caret to blink at least once.
    1.21 +  setTimeout(done, 1200);
    1.22 +}
    1.23 +
    1.24 +function done()
    1.25 +{
    1.26 +  document.documentElement.removeAttribute("class");
    1.27 +}
    1.28 +
    1.29 +</script>
    1.30 +</head>
    1.31 +
    1.32 +<!-- no <body>, intentionally -->
    1.33 +
    1.34 +<div dir="rtl"></div>
    1.35 +
    1.36 +<table><tr contenteditable="true" id="d"><td></td></tr></table>
    1.37 +
    1.38 +</html>

mercurial