summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/zoom/reference
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/zoom/reference')
-rw-r--r--testing/web-platform/tests/css/zoom/reference/iframe-zoom-nested-ref.html35
-rw-r--r--testing/web-platform/tests/css/zoom/reference/iframe-zoom-ref.html31
2 files changed, 66 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/zoom/reference/iframe-zoom-nested-ref.html b/testing/web-platform/tests/css/zoom/reference/iframe-zoom-nested-ref.html
new file mode 100644
index 0000000000..b855278516
--- /dev/null
+++ b/testing/web-platform/tests/css/zoom/reference/iframe-zoom-nested-ref.html
@@ -0,0 +1,35 @@
+<!DOCTYPE html>
+<title>ref for 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 rel="help" href="https://drafts.csswg.org/css-viewport/">
+
+<head>
+ <style>
+ iframe {
+ border: none;
+ margin: 0px;
+ padding: 0px;
+ }
+ </style>
+</head>
+
+<body>
+
+ <div id="no_zoom">
+ <iframe style="height: 80px;" srcdoc='<body style="margin: 0;"><div id="target" style="background-color: aqua; width: 64px; height: 64px;"></div></body>'></iframe>
+ </div>
+
+ <div id="with_zoom">
+ <iframe style="height: 248px;" srcdoc='<body style="margin: 0;"><div id="target" style="background-color: aqua; width: 64px; height: 64px; zoom: 2;"></div></body>'></iframe>
+ </div>
+
+ <div id="another_with_zoom">
+ <iframe style="height: 248px;" srcdoc='<body style="margin: 0;"><div id="target" style="background-color: aqua; width: 64px; height: 64px; zoom: 2;"></div></body>'></iframe>
+ </div>
+
+ <div id="another_with_zoom">
+ <iframe style="height: 260px;" srcdoc='<body style="margin: 0;"><div id="target" style="background-color: aqua; width: 64px; height: 64px; zoom: 4;"></div></body>'></iframe>
+ </div>
+
+</body>
diff --git a/testing/web-platform/tests/css/zoom/reference/iframe-zoom-ref.html b/testing/web-platform/tests/css/zoom/reference/iframe-zoom-ref.html
new file mode 100644
index 0000000000..43bc3e24cf
--- /dev/null
+++ b/testing/web-platform/tests/css/zoom/reference/iframe-zoom-ref.html
@@ -0,0 +1,31 @@
+<!DOCTYPE html>
+<title>ref for 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 rel="help" href="https://drafts.csswg.org/css-viewport/">
+
+<head>
+ <style>
+ iframe {
+ border: none;
+ margin: 0px;
+ padding: 0px;
+ }
+ </style>
+</head>
+
+<body>
+
+ <div id="no_zoom">
+ <iframe style="height: 80px;" srcdoc='<body style="margin: 0;"><div id="target" style="background-color: aqua; width: 64px; height: 64px;"></div></body>'></iframe>
+ </div>
+
+ <div id="with_zoom">
+ <iframe style="height: 248px;" srcdoc='<body style="margin: 0;"><div id="target" style="background-color: aqua; width: 64px; height: 64px; zoom: 3;"></div></body>'></iframe>
+ </div>
+
+ <div id="another_with_zoom">
+ <iframe style="height: 240px;" srcdoc='<body style="margin: 0;"><div id="target" style="background-color: aqua; width: 64px; height: 64px; zoom: 3;"></div></body>'></iframe>
+ </div>
+
+</body>