Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
michael@0 | 1 | <!DOCTYPE html> |
michael@0 | 2 | <html> |
michael@0 | 3 | <div id='console'></div> |
michael@0 | 4 | <div id='parentDiv'> |
michael@0 | 5 | <div id='right-to-left1' dir=auto class=testElement> |
michael@0 | 6 | <input type=text value="a">a |
michael@0 | 7 | </div> |
michael@0 | 8 | <div id='right-to-left2' dir=auto class=testElement> |
michael@0 | 9 | </div> |
michael@0 | 10 | </div> |
michael@0 | 11 | |
michael@0 | 12 | <script type="text/javascript"> |
michael@0 | 13 | |
michael@0 | 14 | document.getElementById("right-to-left2").appendChild(document.createElement("p")) |
michael@0 | 15 | var test5=document.getElementById("right-to-left1") |
michael@0 | 16 | var test6=document.getElementById("console").appendChild(document.createElement("dl")) |
michael@0 | 17 | |
michael@0 | 18 | test6.appendChild(document.createElement("img")) |
michael@0 | 19 | |
michael@0 | 20 | test5.parentNode.removeChild(test5) |
michael@0 | 21 | test5.innerHTML='' |
michael@0 | 22 | test5.appendChild(test6.cloneNode(true)) |
michael@0 | 23 | </script> |
michael@0 | 24 | |
michael@0 | 25 | </body> |
michael@0 | 26 | </html> |