Ticket #2247 (closed bug: fixed)
getMousePosition off due to borders and relative/absolute positioning
|Reported by:||chrelad@…||Owned by:||euzuro|
|Keywords:||mouse position getMousePosition offset click coordinates border relative position||Cc:|
I've managed to create a test case reproducing a bug I found while developing with OpenLayers. The test case shows that when the map div is contained by a node with both a border and position relative set, getMousePosition ends up with an incorrect offset.