layout/tables/crashtests/423514-1.xhtml

Fri, 16 Jan 2015 04:50:19 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 04:50:19 +0100
branch
TOR_BUG_9701
changeset 13
44a2da4a2ab2
permissions
-rw-r--r--

Replace accessor implementation with direct member state manipulation, by
request https://trac.torproject.org/projects/tor/ticket/9701#comment:32

     1 <html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait">
     2 <head>
     3 <script type="text/javascript">
     5 window.addEventListener("load", boom, false);
     7 function boom()
     8 {
     9   var d = document.getElementById("d");
    11   var c = document.createElement("td");
    12   c.setAttribute("rowspan", 2);
    13   d.parentNode.insertBefore(c, d);
    15   document.getElementById("d").focus();
    17   // Wait long enough for the caret to blink at least once.
    18   setTimeout(done, 1200);
    19 }
    21 function done()
    22 {
    23   document.documentElement.removeAttribute("class");
    24 }
    26 </script>
    27 </head>
    29 <!-- no <body>, intentionally -->
    31 <div dir="rtl"></div>
    33 <table><tr contenteditable="true" id="d"><td></td></tr></table>
    35 </html>

mercurial