Open Bug 1432030 Opened 3 years ago Updated 1 year ago

Inaccurate mouseover/out regions for SVG elements with sizes < 1

Categories

(Core :: DOM: UI Events & Focus Handling, defect, P3)

57 Branch
defect

Tracking

()

UNCONFIRMED

People

(Reporter: post, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:57.0) Gecko/20100101 Firefox/57.0
Build ID: 20180103231032

Steps to reproduce:

I made an svg with width: 100% height: 100%  and viewbox="-1 -1 2 2" and put a circle cx=0 cy=0 r=0.01 inside a <g transform="scale(50,50)">

Here's an example:

https://jsfiddle.net/Lv8kcdg1/1/


Actual results:

Mouseover events are triggered in regions outside the circle and mouseout events are triggered for regions inside the circle





Expected results:

Mouseover events should only be triggered when the mouse is over the circle, and mouseout events for outside the circle
Component: Untriaged → Event Handling
Product: Firefox → Core
Priority: -- → P3
Component: Event Handling → User events and focus handling

pls visit our site
https://www.plaza.ir

You need to log in before you can comment on or make changes to this bug.