Fri, 16 Jan 2015 04:50:19 +0100
Replace accessor implementation with direct member state manipulation, by
request https://trac.torproject.org/projects/tor/ticket/9701#comment:32
michael@0 | 1 | <html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait"> |
michael@0 | 2 | <head> |
michael@0 | 3 | <script type="text/javascript"> |
michael@0 | 4 | |
michael@0 | 5 | window.addEventListener("load", boom, false); |
michael@0 | 6 | |
michael@0 | 7 | function boom() |
michael@0 | 8 | { |
michael@0 | 9 | var d = document.getElementById("d"); |
michael@0 | 10 | |
michael@0 | 11 | var c = document.createElement("td"); |
michael@0 | 12 | c.setAttribute("rowspan", 2); |
michael@0 | 13 | d.parentNode.insertBefore(c, d); |
michael@0 | 14 | |
michael@0 | 15 | document.getElementById("d").focus(); |
michael@0 | 16 | |
michael@0 | 17 | // Wait long enough for the caret to blink at least once. |
michael@0 | 18 | setTimeout(done, 1200); |
michael@0 | 19 | } |
michael@0 | 20 | |
michael@0 | 21 | function done() |
michael@0 | 22 | { |
michael@0 | 23 | document.documentElement.removeAttribute("class"); |
michael@0 | 24 | } |
michael@0 | 25 | |
michael@0 | 26 | </script> |
michael@0 | 27 | </head> |
michael@0 | 28 | |
michael@0 | 29 | <!-- no <body>, intentionally --> |
michael@0 | 30 | |
michael@0 | 31 | <div dir="rtl"></div> |
michael@0 | 32 | |
michael@0 | 33 | <table><tr contenteditable="true" id="d"><td></td></tr></table> |
michael@0 | 34 | |
michael@0 | 35 | </html> |