summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-viewport/zoom/iframe-zoom-nested.html
blob: 22a491eb0b58e4cc908336597bdd75f88f5fa18b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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>