1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22

content / test / data / frame_tree / page_with_clip_path_iframe.html [blame]

<!DOCTYPE html>
<html>
  <head>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <style>
    body {
      margin: 0px;
    }

    iframe {
      position: absolute;
      width: 100px;
      height: 100px;
      clip-path: polygon(50% 0%, 80% 50%, 50% 80%, 0% 50%);
      border: none;
    }
    </style>
  </head>
  <body>
    <iframe src="/cross-site/baz.com/title1.html"></iframe>
  </body>
</html>