Bug Tracker

Opened 12 years ago

Closed 12 years ago

Last modified 11 years ago

#9797 closed bug (wontfix)

.offset() and .position() returning wrong values for SVG-elements

Reported by: anonymous Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.6.2
Keywords: Cc:
Blocked by: Blocking:


OS: Windows 7 64Bit

In Chrome(12.0.742.112) and FF(5.0) .offset() and .position() are returning unexpected values when called on SVG (root) elements. The resulting values are the x-coord of the most left child for the 'left' component and the y-coord of the most top child for the 'top' component.

The expected values would be the left/top position of the svg root element.

In IE9(32Bit/64Bit) the return values seems to be ok.

JS-Fiddle: http://jsfiddle.net/Ngrp2/1/

Same behaviour for jQuery versions < 1.6.2

Change History (1)

comment:1 Changed 12 years ago by john

Resolution: wontfix
Status: newclosed

Unfortunately we're not planning on fixing bugs relating to SVG any time soon: http://docs.jquery.com/Won%27t_Fix

Note: See TracTickets for help on using tickets.