summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/zoom/iframe-zoom.sub.html
blob: 82a202161b9c296adb008a0f4ddb48acb9d8c911 (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
39
40
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>