summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/zoom/iframe-zoom.sub.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/zoom/iframe-zoom.sub.html')
-rw-r--r--testing/web-platform/tests/css/zoom/iframe-zoom.sub.html41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/zoom/iframe-zoom.sub.html b/testing/web-platform/tests/css/zoom/iframe-zoom.sub.html
new file mode 100644
index 0000000000..82a202161b
--- /dev/null
+++ b/testing/web-platform/tests/css/zoom/iframe-zoom.sub.html
@@ -0,0 +1,41 @@
+<!DOCTYPE html>
+<title>iframe in an element 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-ref.html" rel="match">
+<link rel="help" href="https://drafts.csswg.org/css-viewport/">
+
+<head>
+ <style>
+ body {
+ overflow: hidden;
+ }
+
+ div {
+ margin: 0px;
+ padding: 0px;
+ }
+
+ iframe {
+ height: 80px;
+ width: 80px;
+ border: none;
+ }
+ </style>
+</head>
+
+<body>
+
+ <div id="no_zoom">
+ <iframe src="resources/iframe_content.html"></iframe>
+ </div>
+
+ <div id="with_zoom" style="zoom: 3;">
+ <iframe src="resources/iframe_content.html"></iframe>
+ </div>
+
+ <div id="another_with_zoom" style="zoom: 3;">
+ <iframe src="http://{{hosts[alt][]}}:{{ports[http][0]}}/css/zoom/tentative/resources/iframe_content.html"></iframe>
+ </div>
+
+</body>