summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/zoom/iframe-zoom-nested.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/zoom/iframe-zoom-nested.html')
-rw-r--r--testing/web-platform/tests/css/zoom/iframe-zoom-nested.html38
1 files changed, 38 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/zoom/iframe-zoom-nested.html b/testing/web-platform/tests/css/zoom/iframe-zoom-nested.html
new file mode 100644
index 0000000000..22a491eb0b
--- /dev/null
+++ b/testing/web-platform/tests/css/zoom/iframe-zoom-nested.html
@@ -0,0 +1,38 @@
+<!DOCTYPE html>
+<title>nested iframes with CSS zoom</title>
+<link rel="author" title="Yotam Hacohen" href="mailto:yotha@chromium.org">
+<link rel="author" title="Google" href="http://www.google.com/">
+<link href="reference/iframe-zoom-nested-ref.html" rel="match">
+<link rel="help" href="https://drafts.csswg.org/css-viewport/">
+<head>
+ <style>
+ body {
+ overflow: hidden;
+ }
+
+ div {
+ margin: 0px;
+ padding: 0px;
+ overflow: visible;
+ }
+
+ iframe {
+ overflow: visible;
+ border: none;
+ }
+ </style>
+</head>
+<body>
+ <div id="no_zoom">
+ <iframe src="resources/nested-iframe-no-zoom.html" scrolling="no"></iframe>
+ </div>
+ <div id="no_zoom2">
+ <iframe src="resources/nested-iframe-with-zoom.html" scrolling="no"></iframe>
+ </div>
+ <div id="with_zoom" style="zoom: 2;">
+ <iframe src="resources/nested-iframe-no-zoom.html" scrolling="no"></iframe>
+ </div>
+ <div id="another_with_zoom" style="zoom: 2;">
+ <iframe src="resources/nested-iframe-with-zoom.html" scrolling="no"></iframe>
+ </div>
+</body>