Closed
Bug 1684973
Opened 3 years ago
Closed 3 years ago
Event offsetX/Y differ in Chrome and Firefox for mouse events in SVGs
Categories
(Core :: DOM: Events, defect)
Core
DOM: Events
Tracking
()
Tracking | Status | |
---|---|---|
firefox86 | --- | fixed |
People
(Reporter: twisniewski, Assigned: emilio)
References
()
Details
Attachments
(1 file)
Bloomberg's site is currently affected by the interop difference between Gecko and Blink, where mouse events' offsets in SVGs are relative to the event's target in Firefox, but the SVG itself in Chrome. There's a pretty lonely spec-bug for this here: https://github.com/w3c/csswg-drafts/issues/1508
My feeling is that while Firefox's behavior is more reasonable/useful, since this is causing webcompat issues, perhaps we ought to bite the bullet and match Chrome's behavior (which Webkit still seems to share)?
Assignee | ||
Comment 1•3 years ago
|
||
This matches other browsers. Needs a test, if the try server comes back
green.
Updated•3 years ago
|
Assignee: nobody → emilio
Status: NEW → ASSIGNED
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/acb6c55d8192 Return mouse offset coordinates in SVG relative to the SVG root. r=smaug
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/27048 for changes under testing/web-platform/tests
Comment 4•3 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
status-firefox86:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 86 Branch
Upstream PR merged by moz-wptsync-bot
You need to log in
before you can comment on or make changes to this bug.
Description
•