Closed Bug 1310625 Opened 8 years ago Closed 6 years ago

Events are not triggering for SVG shape

Categories

(Core :: SVG, defect, P3)

45 Branch
defect

Tracking

()

RESOLVED DUPLICATE of bug 1167959
Tracking Status
firefox49 --- wontfix
firefox50 --- wontfix
firefox51 --- wontfix
firefox52 --- fix-optional

People

(Reporter: gowrimathis, Unassigned)

References

Details

(Keywords: regression)

User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36 Steps to reproduce: I have created an svg path and scaled it (transform="scale(8192)"). Events bind to the path is not triggering in firefox. Find the sample below. https://jsfiddle.net/n5rgx56r/4/ Actual results: Event is not triggering. Expected results: Need to trigger the event.
Group: firefox-core-security
Component: Untriaged → SVG
Product: Firefox → Core
Setting svg.display-lists.hit-testing.enabled = false fixes the problem
Blocks: 776054
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: regression
Version: unspecified → 45 Branch
Jet, what should we do with this regression?
Flags: needinfo?(bugs)
Bug 776054 shipped and regressed this over four years ago, so I don't think this should be treated differently to any other bug at this point. This is also probably a duplicate of one of the other bugs is marked as blocking that bug.
(In reply to Andrew Overholt [:overholt] from comment #2) > Jet, what should we do with this regression? I agree with jwatt's assessment in comment 3.
Priority: -- → P3
I haven't checked in the debugger, but the x-coordinates of the small (unhittable) rectangle are 117.7685546875 and 117.7730712890625 (a difference of 0.004516). 7066/60 = 117.76666 and 7067/60 = 117.783333, so the x-coordinates of both of the vertical edges of the rectangle lie between consecutive multiples of 1/60, so the rectangle can't contain any 1/60 points and hit testing will always fail. There's a group with a scale of 8192. Marking as a duplicate of bug 1167959 - see that bug for some more explanation.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.