(cross posted at
http://stackoverflow.com/questions/34741730 )
I wrote a xul application where a SVG fragment is embedded in a XUL element.
(...)
<scrollbox style='overflow:auto;' flex="1" pack="center">
<svg:svg version="1.1" baseProfile="full" width="100" height="100" id="drawingArea">
<svg:rect width="100" height="100" style="fill:red;" title="hello"/>
</svg:svg>
</scrollbox>
(...)
I wrote a xul application where a SVG fragment is embedded in a XUL element.
(...)
<scrollbox style='overflow:auto;' flex="1" pack="center">
<svg:svg version="1.1" baseProfile="full" width="100" height="100" id="drawingArea">
<svg:rect width="100" height="100" style="fill:red;" title="hello"/>
</svg:svg>
</scrollbox>
(...)
The image is displayed but the tooltip 'Hello' is not displayed on mouseover. I also tried to add a child <svg:title> and to wrap the svg:svg inside a html:div.
With the standalone svg file:
<?xml version="1.0"?>
<svg:svg xmlns:svg="
http://www.w3.org/2000/svg" version="1.1" baseProfile="full" width="10" height="2000" id="drawingArea">
<svg:rect width="100" height="100" style="fill:red;" title="xxx"/>
</svg:svg>
the tooltip is displayed in firefox.
Is there a way to show those tooltips in xul ?