Fri, 16 Jan 2015 18:13:44 +0100
Integrate suggestion from review to improve consistency with existing code.
1 <html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait">
2 <head><script type="text/javascript">
3 <![CDATA[
5 function boom() {
6 const HTML_NS = "http://www.w3.org/1999/xhtml";
7 var tr4 = document.createElementNS(HTML_NS, 'tr');
8 document.getElementById('tbody1').appendChild(tr4);
9 var span1 = document.createElementNS(HTML_NS, 'td');
10 tr4.insertBefore(span1, null);
11 document.documentElement.removeAttribute("class");
12 }
14 function ol(e) {
15 window.removeEventListener("load", ol, false);
16 setTimeout(boom, 400);
17 }
19 window.addEventListener("load", ol, false);
21 ]]>
22 </script>
23 </head>
25 <body><table><tbody id="tbody1"><tr><td rowspan="0"></td></tr></tbody></table></body>
26 </html>