blob: 21bf05c9554efc56515ce8955ea0bec82ba1d45e [file] [log] [blame]
<svg xmlns="http://www.w3.org/2000/svg" width="800" height="100">
<desc>Test that the outline is painted, and that :active stylerules apply correctly on the 'tspan' element.</desc>
<style>
*:focus { fill: green; outline: 2px solid black; }
text { font: 32px sans-serif; }
</style>
<text y="40">>>> <tspan tabindex="2">Test didn't run</tspan> &lt;&lt;&lt;</text>
<script>
var t = document.querySelector("tspan");
t.focus();
t.textContent = document.activeElement;
</script>
</svg>