haikuwebkit/LayoutTests/svg/custom/pattern-3-step-cycle.html

24 lines
631 B
HTML

<!DOCTYPE html>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
window.onload = function() {
testRunner.notifyDone();
};
}
</script>
<p>PASS if no crash.</p>
<svg width="100" height="100">
<rect width="100" height="100" fill="url(#p1)"/>
<pattern id="p3" width="1" height="1">
<rect fill="url(#p1)" width="100" height="100"/>
</pattern>
<pattern id="p2" width="1" height="1">
<rect fill="url(#p3)" width="100" height="100"/>
</pattern>
<pattern id="p1" width="1" height="1">
<rect fill="url(#p2)" width="100" height="100"/>
</pattern>
</svg>