Index: sky/tests/lowlevel/iframe.sky |
diff --git a/sky/tests/lowlevel/iframe.sky b/sky/tests/lowlevel/iframe.sky |
index 8c3682c3a386e91c2eb75d75bc6e5d10423696fe..b9d75546f51529a1e231c3eef2569a3a012fdecd 100644 |
--- a/sky/tests/lowlevel/iframe.sky |
+++ b/sky/tests/lowlevel/iframe.sky |
@@ -1,12 +1,15 @@ |
<sky> |
- <import src="../resources/dump-as-render-tree.sky" /> |
+ <import src="../resources/dump-as-render-tree.sky"/> |
<iframe id="removeMe" src="text.sky">Should not render</iframe> |
<div>This is an <iframe style="border-style: solid; border-width: 20px" src="abarth.sky">iframe</iframe> element.</div> |
<div style="height: 200px">Placeholder.</div> |
<div>Small iframe should render <iframe style="height: 40px" src="abarth.sky">iframe</iframe> correctly.</div> |
<script> |
- var removeMe = document.getElementById("removeMe"); |
- removeMe.parentNode.removeChild(removeMe); |
+ import "dart:sky"; |
+ |
+ void main() { |
+ document.getElementById("removeMe").remove(); |
+ } |
</script> |
</sky> |