chromium/third_party/blink/renderer/core/testing/data/fixed-position-in-fixed-viewport.html

<!DOCTYPE html>
<html>
<head>
  <meta name="viewport" content="width=400,height=400">
  <style>
    body, html {
      margin: 0px;
    }

    div {
      position: fixed;
      background-color: blue;
    }
  </style>
</head>

<body style="width: 500px; height: 500px">
  <div id="bottom-fixed" style="left: 0px; bottom: 0px; width: 20px; height: 20px"></div>
  <div id="top-bottom-fixed" style="left: 0px; top: 0px; bottom: 0px; width: 20px"></div>
  <div id="right-fixed" style="top: 0px; right: 0px; width: 20px; height: 20px"></div>
  <div id="left-right-fixed" style="top: 0px; left: 0px; right: 0px; height: 20px"></div>
</body>
</html>