Bug 27222
| Summary: | Image title tooltips not working | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | zac spitzer <zac.spitzer> |
| Component: | Layout and Rendering | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | peter |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| URL: | http://www.openlayers.org/dev/examples/vector-features.html | ||
zac spitzer
The Openlayers javascript mapping library has support for adding tooltips
for images used as map markers.
The tooltip is set simply by defining the title for the image
It works fine in both IE and Firefox, but doesn't work in Safari or Chrome
As documented here in the API
http://dev.openlayers.org/apidocs/files/OpenLayers/Feature/Vector-js.html
Functionality was added under this ticket to Openlayers
http://trac.openlayers.org/ticket/1946
With this example, the redish icon at the top has should have a title tooltip
http://www.openlayers.org/dev/examples/vector-features.html
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Peter Beverloo
On the example page[1], hover over the red polygon in the top-right area of the map for a <title>-tooltip.
The problem does occur for me in Safari 5, but not in Chrome 11, both using Windows Vista. Could you download a WebKit nightly to see if it's still an issue? http://nightly.webkit.org/
[1] http://www.openlayers.org/dev/examples/vector-features.html
zac spitzer
Just tried this out in Safari 5.0.3 on Windows 7 and it now works, closing