summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/CSS2/visufx/overflow-propagation-001c.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/CSS2/visufx/overflow-propagation-001c.html')
-rw-r--r--testing/web-platform/tests/css/CSS2/visufx/overflow-propagation-001c.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/CSS2/visufx/overflow-propagation-001c.html b/testing/web-platform/tests/css/CSS2/visufx/overflow-propagation-001c.html
new file mode 100644
index 0000000000..6956ff4143
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/visufx/overflow-propagation-001c.html
@@ -0,0 +1,16 @@
+<!doctype html>
+<meta charset=utf-8>
+<title>Ensure that body propagates its scrollbars even if there is a preceding frameset</title>
+<link rel=match href="support/overflow-propagation-001-ref.html">
+<link rel=help href="https://www.w3.org/TR/CSS21/visufx.html#overflow-clipping">
+<script>
+ onload = function() {
+ document.body.remove();
+ var f = document.createElement("frameset");
+ document.documentElement.appendChild(f);
+ var b = document.createElement("body");
+ b.style = "overflow: hidden; margin: 100px; width: 100px; height: 100px; border: 1px solid green; position: absolute; top: 0; left: 0";
+ b.textContent = "The body should have visible overflow of the text that totally doesn't fit in the little box.";
+ document.documentElement.appendChild(b);
+ }
+</script>