<!DOCTYPE html> | |
<svg id="svg"> | |
<rect id="rect" width="-1" stroke-linejoin="round" stroke="black" vector-effect="non-scaling-stroke"/> | |
<ellipse id="ellipse" rx="-1" stroke="black" vector-effect="non-scaling-stroke"/> | |
</svg> | |
<script src="../../resources/testharness.js"></script> | |
<script src="../../resources/testharnessreport.js"></script> | |
<script> | |
test(function() { | |
rect.isPointInStroke(svg.createSVGPoint()); | |
ellipse.isPointInStroke(svg.createSVGPoint()); | |
}); | |
</script> |