Chromium Code Reviews| Index: LayoutTests/fast/frames/resources/reparent-iframe.html |
| diff --git a/LayoutTests/fast/frames/resources/reparent-iframe.html b/LayoutTests/fast/frames/resources/reparent-iframe.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..f8123c1553795b8d44a1b5f4a3987fcf9781af58 |
| --- /dev/null |
| +++ b/LayoutTests/fast/frames/resources/reparent-iframe.html |
| @@ -0,0 +1,10 @@ |
| +<b><p> |
| +<script> |
| +var body = document.body; |
| +body.remove(); |
| +top.reparentedIframe = body.firstChild.firstChild.appendChild(document.createElement("iframe")); |
| +document.documentElement.appendChild(body.firstChild); |
| +body = null; |
|
Yuta Kitamura
2015/02/23 07:54:41
Took some time for me to understand this part; let
|
| +</script> |
| +<!-- Force reparenting! --> |
|
Yuta Kitamura
2015/02/23 07:54:41
This comment seems unhelpful and unnecessary
|
| +</b></p> |
|
Yuta Kitamura
2015/02/23 07:54:41
Close tag order is wrong
|