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

Zac Spitzer zac.spitzer at gmail.com
Tue Mar 30 08:39:04 EDT 2010


for chrome, aka webkit, I have filed a bug about this

https://bugs.webkit.org/show_bug.cgi?id=27222

unless the approach in the ol code is different for webkit?

z

On 30 March 2010 23:13, Marc Jansen <jansen at terrestris.de> wrote:
> 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.
>
> Regards,
> Marc
>
>
> 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
>>
>>
>
> _______________________________________________
> Dev mailing list
> Dev at openlayers.org
> http://openlayers.org/mailman/listinfo/dev
>



-- 
Zac Spitzer
Solution Architect / Director
Ennoble Consultancy Australia
http://www.ennoble.com.au
http://zacster.blogspot.com
+61 405 847 168



More information about the Dev mailing list