Ticket #1268 (new feature)
getPixelFromEvent fails in some cases (margin, border, text-align)
| Reported by: | crschmidt | Owned by: | euzuro |
|---|---|---|---|
| Priority: | minor | Milestone: | 2.13 Release |
| Component: | Events | Version: | 2.5 |
| Keywords: | Cc: | ||
| State: |
Description
IE's different CSSSS model means that there are some cases where IE fails to report the correct mouse position. This can be seen in a number of ways -- digitizing features, mouseposition control, etc. Typically, these problems can be solved by using different CSS.
The CSS properties which have been reported to cause problems:
- Border on map element
- Margin on map element
- text-align on map element
The code to fix/improve is OpenLayers.Events.getMousePosition, and possibly OpenLayers.Util.getPagePosition.
There is no firm plan to fix this in the short term.
Change History
Note: See
TracTickets for help on using
tickets.
