Bug Tracker

Opened 9 years ago

Closed 9 years ago

#15156 closed bug (patchwelcome)

Firefox offset for SVG element is incorrect when fill and stroke are none

Reported by: benrudolph Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 2.1.0
Keywords: Cc:
Blocked by: Blocking:


It's unclear to me if this is a firefox bug or jquery bug, but when one calls .offset() on an svg element when fill:none; stroke:none it gives an incorrect response. Here's a fiddle:


Try in latest Chrome and Firefox.

Change History (1)

comment:1 Changed 9 years ago by dmethvin

Resolution: patchwelcome
Status: newclosed

As a non-HTML-DOM issue this would seem to fall in our wontfix bucket, although if someone else wants to trace it down and it has a simple and *small* fix we could consider it.

Note: See TracTickets for help on using tickets.