0" y="-3" width="4" height="4" fill="green"></rect>
</svg>

<script>
  setup(() => {
    window.entries = [];
    window.target = document.getElementById("target");
    window.targetRect = target.getBoundingClientRect();
  });
  var epsilon = 0.0001;
  runTestCycle(function() {
    assert_true(!!target, "target exists");
    var observer = new IntersectionObserver(changes => {
        entries = entries.concat(changes);
      }, {root: container, threshold: [0, 0.25, 0.5, 0.7, 1]});
    observer.observe(targ