blob: 9bd87ef7d1780d49724f277f207169896781e072 [file] [log] [blame]
<style>
.path { -webkit-clip-path: url(#clippath); }
</style>
<script>
function loadevent() {
document.caretRangeFromPoint(37, 70);
if (window.testRunner) {
document.body.innerText = "Tests SVG hit test with a recursive clipPath. Test passes if WebKit does not crash. PASS";
testRunner.dumpAsText();
}
}
</script>
<body onload=loadevent()>
<svg contentScriptType="text/ecmascript">
<path d="M16 8 L32 56" class="path" />
<clipPath id="clippath" clipPathUnits="objectBoundingBox">
<text clip-path="url(#clippath)" to="currentColor">Text</text>