Closed Bug 709850 Opened 13 years ago Closed 13 years ago

Inline SVG path fires false mouseout events

Categories

(Core :: Graphics, defect)

x86_64
All
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 672750

People

(Reporter: info, Unassigned)

References

()

Details

(Keywords: regression)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.874.121 Safari/535.2

Steps to reproduce:

http://jsfiddle.net/w8r/WuQT7/

An example of simple inline svg with various thick line segments, that have mouse over and out event handlers, which changes their stroke colour.


Actual results:

More horizontally oriented segments blink, firing false 'mouseout' events, while cursor is moving slowly across them. SVG container or an underlying div is in the event relatedTarget field. This happens in all last major versions of FireFox on Mac OS X, no matter what tags(line, polyline or path) for segments or what combination of z-indexes and pointer-events values I'm using, I've made hundreds of tests and I give up, knowing only that the bug is more likely to appear on segments with angles 0-10 degrees to the horizontal axis.


Expected results:

At least with pointer-events set to visibleStroke the mouseout event should fire only when the cursor has left the visible part of the segment(i.e. its stroke).
Severity: normal → critical
Hardware: x86 → x86_64
The same happens also on "Mozilla/5.0 (Ubuntu; X11; Linux x86_64; rv:8.0) Gecko/20100101 Firefox/8.0"
Regression window(m-c)with html5.enable = true, and delete console statement from page javascript:
Cannot reproduce:
http://hg.mozilla.org/mozilla-central/rev/2968d19b0165
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.3a5pre) Gecko/20100426 Minefield/3.7a5pre ID:20100426040533
Can reproduce:
http://hg.mozilla.org/mozilla-central/rev/f236632a9747
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.3a5pre) Gecko/20100426 Minefield/3.7a5pre ID:20100426084628
Pushlog:
http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=2968d19b0165&tochange=f236632a9747
Triggered by:
f236632a9747	Jeff Muizelaar — Bug 542605. Update cairo to 12d521df8acc483b2daa844d4f05dc2fe2765ba6. r=vlad,jwatt,bas Reland after fixing quartz related clipping bug and a bunch of other ones
Blocks: 542605
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Component: General → Graphics
Keywords: regression
Product: Firefox → Core
QA Contact: general → thebes
Resolution: --- → DUPLICATE
Status: RESOLVED → UNCONFIRMED
Resolution: DUPLICATE → ---
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Mac OS X → All
Severity: critical → normal
How come this bug is a duplicate of #672750 if all the 'cursor' statements were removed from my testcase? Are you sure?
the cursor in the other bug is just another way of seeing the effect which is that the mouseout occurs when it shouldn't.
Status: NEW → RESOLVED
Closed: 13 years ago13 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.