[Webkit-unassigned] [Bug 150274] SVG text's transparent box overlaps clickable shape, disabling click
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Apr 17 04:44:53 PDT 2016
https://bugs.webkit.org/show_bug.cgi?id=150274
--- Comment #2 from Tobi Reif <tobi at tobireif.com> ---
This works now in the Safari preview. I deleted the pen. In case anyone needs to test this in the future, here's the code:
<svg id="svg" xmlns="http://www.w3.org/2000/svg" width="100%" viewBox="0 0 300 60">
<rect id="rect" x="10" y="5" width="20" height="20" fill="lime">
<animate attributeName="x" begin="circle1.click;circle2.click;circle3.click" dur="0.5s" from="100" to="10" fill="freeze"/>
</rect>
<circle id="circle1" cx="20" cy="37" r="5" fill="green"/>
<circle id="circle2" cx="80" cy="37" r="5" fill="green"/>
<circle id="circle3" cx="120" cy="37" r="5" fill="green"/>
<text y="30" fill="olive" font-size="10">
<tspan x="40" dy="1em">Foo.</tspan>
<tspan x="40" dy="1em">Foo bar baz.</tspan>
</text>
</svg>
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160417/1fc0d66e/attachment.html>
More information about the webkit-unassigned
mailing list