Open Bug 1755005 Opened 4 years ago Updated 2 years ago

Hit testing SVG with overflow:visible doesn't match other browsers

Categories

(Core :: Graphics: WebRender, defect, P3)

defect

Tracking

()

People

(Reporter: nical, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: correctness)

Attachments

(1 file)

Since WebRender landed, in Firefox only the bounds of the SVG item catch inputs while before WebRender (and in other browsers), the the hittested region is the bounds of the SVG + the shapes outside the bounds of the SVG.

Edit: see comment 1

Severity: N/A → S3
Keywords: correctness
Attached file test case —

After simplifying the test case It seems I wasn't testing correctly when I filed the bug.

It looks like we are hit testing properly with overflow:visible as long as the elements are not active. In other words the hit tested region is the bounds of SVG plus the non-active blob items.

It's fine today because we don't make a lot of items active, but it will get worse soon with active images and solid rectangles.

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

Attachment

General

Created:
Updated:
Size: