summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/cssom-view/resources/iframe2.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/cssom-view/resources/iframe2.html')
-rw-r--r--testing/web-platform/tests/css/cssom-view/resources/iframe2.html25
1 files changed, 25 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/cssom-view/resources/iframe2.html b/testing/web-platform/tests/css/cssom-view/resources/iframe2.html
new file mode 100644
index 0000000000..7bb944c9d5
--- /dev/null
+++ b/testing/web-platform/tests/css/cssom-view/resources/iframe2.html
@@ -0,0 +1,25 @@
+<!DOCTYPE HTML>
+<style>
+html, body {
+ margin: 0;
+ padding: 0;
+}
+#big {
+ width: 125px;
+ height: 500px;
+ background: blue;
+}
+#small {
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100px;
+ height: 100px;
+ background: green;
+}
+</style>
+<div id='big'></div>
+<div id='small'></div>
+<script>
+window.onload = window.parent.onFrameLoaded();
+</script>