green;
    clip-path: path(nonzero, 'M0,0 L100,0  L0,100  L0,0');
    zoom: 2;
  }
</style>
<div id="triangle"></div>
<script>
  test(() => {
    assert_equals(document.elementFromPoint(20, 20).id, 'triangle')
    assert_equals(document.elementFromPoint(150, 20).id, 'triangle')
    assert_equals(document.elementFromPoint(180, 180).tagName, 'BODY')
  }, 'clip-path: path() hit-test takes zoom into account');

</script>
