[OpenLayers-Dev] [OpenLayers-Users] Fwd: graphicTitle tooltip in Chrome and Opera browsers

Marc Jansen jansen at terrestris.de
Tue Mar 30 08:13:49 EDT 2010

Hi John,

(I cc'ed my answer to the dev-list, as I guess it belongs there)

I would suggest opening an enhancement-ticket and attaching the patch 
(together with a test) as it seems to be at least a partial solution. I 
cannot tell you what to do, to get the tooltip working in Chrome, though.

If you decide against opening a ticket/providing a patch, please send 
the code in question to the dev-list. Thanks anyway.


John Pulles wrote:
> Hi list,
> I'm displaying wfs layers with an externalGraphic and a graphicTitle.
> The tooltip is displaying in IE and Firefox but not in the Opera and 
> Chrome browsers.
> According to
> http://www.w3.org/Graphics/SVG/IG/wiki/Accessibility_Activity#Implementation_Status_.28Current_Behavior.2C_Bugs.29 
> a browser should display a tooltip in svg on:
> * hover over a link and the xlink:title attribute contents are displayed 
> in a tooltip
> * hover over an element and the svg:title element contents are displayed 
> in a tooltip
> Adding a title child node to the svg image element, solves the display 
> of tooltips in Opera.
> This leaves me with two questions:
> 1) should I provide a patch to SVG.js to get the title child node into 
> OpenLayers, and
> 2) how can a tooltip be displayed in Chrome?
> Thanks,
> John
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users

More information about the Dev mailing list