blob: 86b600af14ba6845961d56abb941338e8ef49b2b [file] [log] [blame]
<svg>
<g>
<defs><linearGradient id="linearGradient"></linearGradient></defs>
<text style="fill:url(#linearGradient);">
B<tspan>A</tspan>
</text>
<text style="filter:url(#dropShadow);">
<tspan id="tspan">K</tspan>
</text>
</g>
<text x="10" y="30">This test passes if it does not crash.</text>
<script>
var canvas = document.createElement("canvas");
document.getElementById("linearGradient").appendChild(canvas);
range = document.createRange();
range.setEndAfter(document.getElementById("tspan"));
range.extractContents();
if (window.testRunner)
testRunner.dumpAsText();
</script>
</svg>