<!DOCTYPE html>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../resources/intersection-observer-test-utils.js"></script>

<style>
pre, #log {
  position: absolute;
  top: 0;
  left: 200px;
}
#iframe {
  width: 100px;
  height: 100px;
  border: 0;
  margin-bottom: 10px;
}
#occluder {
  width: 100px;
  height: 100px;
  background-color: blue;
  position: relative;
}
</style>

<iframe id="iframe" src="../resources/scaled-target-subframe.