summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-transforms/transform-iframe-001.html
blob: b8620a04ac8c3d5e1b8aed025ea1117d9cbd5c02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!DOCTYPE html>
<html>
  <head>
    <title>CSS Test (Transforms): Iframe</title>
    <link rel="author" title="Clint Talbert" href="mailto:ctalbert@mozilla.com">
    <link rel="author" title="Aryeh Gregor" href="mailto:ayg@aryeh.name">
    <link rel="help" href="http://www.w3.org/TR/css-transforms-1/#transform-rendering">
    <meta name="assert" content='This test ensures that transforms cannot move
    the contents of an iframe onto the parent page.  The iframe here contains a
    red box shifted 500px down and to the right, outside the iframe&apos;s
    visible area.  overflow: hidden ensures that scrollbars are not tested.'>
    <link rel="match" href="transform-iframe-ref.html">
    <style>
      iframe {
        overflow: hidden;
        height: 200px;
        width: 300px;
      }
    </style>
    <iframe src="support/transform-iframe-001-contents.html"></iframe>
  </body>
</html>