comparison: content/test/reftest/child592366-1.html
content/test/reftest/child592366-1.html
- changeset 0
- 6474c204b198
equal
deleted
inserted
replaced
|
1 <!DOCTYPE html> |
|
2 <html> |
|
3 <head> |
|
4 <title>Move node during parse</title> |
|
5 </head> |
|
6 <body> |
|
7 <div> |
|
8 <p>This text should not show inside the iframe. It should show inside the parent. Furthermore, there should be text saying "Middle of Page" and then "End of Page" below (also in the parent).</p> |
|
9 <script> |
|
10 parent.document.documentElement.lastChild.appendChild(document.getElementsByTagName("div")[0]); |
|
11 </script> |
|
12 <p>Middle of Page</p> |
|
13 <script> |
|
14 document.body.insertBefore(document.createTextNode("FAIL"), document.body.firstChild); |
|
15 </script> |
|
16 <p>End of Page</p> |
|
17 </div> |
|
18 </body> |
|
19 </html> |