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

content / test / data / fenced_frames / viewport.html [blame]

<!DOCTYPE html>
<html>
<head>
  <meta name="viewport" content="width=device-width">
  <style>
    fencedframe {
      width: 314px;
      height: 271px;
    }
  </style>
</head>
<body>
  <fencedframe></fencedframe>
  <script>
    const url = new URL("viewport_child.html", location.href);
    document.querySelector("fencedframe").config = new FencedFrameConfig(url);
  </script>
</body>
</html>