New issue
Advanced search Search tips

Issue 917324 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 908570
Owner: ----
Closed: Dec 21
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug-Regression



Sign in to add a comment

svg foreignObject not forwarding click event since 71

Reported by martin.j...@gmail.com, Dec 21

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36

Steps to reproduce the problem:
When generating a SVG with foreignObject, if the foreign object doesn't have "position:realtive" set, the click event on that element is not working neither text selection. 
if position:relative is set, then click event and text selection is working.

Text is still rendered at the correct place.

What is the expected behavior?
In previous version (70), both scenario were working.

What went wrong?
foreignObject element is rendered correctly but not interaction possible with the element if no position:relative is set.

Did this work before? Yes 70

Does this work in other browsers? Yes

Chrome version: 71.0.3578.98  Channel: stable
OS Version: OS X 10.14.2
Flash Version: 

You can find fiddle with exemple here: https://jsfiddle.net/76gc4oyL/ . It was working fine on chrome 70 and working fine on Firefox.
 
reproSvg.html
2.1 KB View Download
Mergedinto: 908570
Status: Duplicate (was: Unconfirmed)

Sign in to add a comment