shift click on svg element loaded with <object> does not work in Chrome
Reported by
somers_...@cox.net,
Aug 8 2016
|
||||||||
Issue description
Chrome Version : 52.0.2743.116
URLs (if applicable) :
Other browsers tested:
Add OK or FAIL, along with the version, after other browsers where you
have tested this issue:
Safari:
Firefox: OK
IE: OK
What steps will reproduce the problem?
(1) Run the attached html/javascript and svg files.
(2) Open the console.
(3) Both click and shift-click the rectangle that is displayed. Chrome detects clicks but not shift-clicks.
(4) Chrome successfully detects shift-double-clicks but not shift-single-clicks.
What is the expected result?
Chrome should detect both click and shift-clicks. In my own testing, I also discovered that the bug only occurs when the svg is loaded via an < object > tag. If the svg is loaded inline with the html code, Chrome behaves properly.
What happens instead?
Shift-clicks do not seem to register at all.
Please provide any additional information below. Attach a screenshot if
possible.
,
Aug 8 2016
,
Aug 11 2016
I believe what you want is correct. But I had a little bit of problem reproducing this on 52.0.2743.116. When serving the files from my computer I got this error: Uncaught SecurityError: Blocked a frame with origin "null" from accessing a frame with origin "null". Protocols, domains, and ports must match. as the script inside the svg was trying to call something from outside. Did you turn on any flags or maybe serve the files differently?
,
Aug 18 2016
I've confirmed in 54.0.2824.0, hosted at http://bokan.ca/junk.html. Navid, you've been doing some click work, are you the right person to take a look?
,
Aug 18 2016
+Chong who's also done work in this area.
,
Aug 18 2016
mustaq@ does this share the same root cause as issue 61574 that you are working on?
,
Aug 21 2017
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue. Sorry for the inconvenience if the bug really should have been left as Available. If you change it back, also remove the "Hotlist-Recharge-Cold" label. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Aug 28 2017
Can no longer reproduce. Shift is set correctly. |
||||||||
►
Sign in to add a comment |
||||||||
Comment 1 by ranjitkan@chromium.org
, Aug 8 2016Components: Blink>JavaScript
Labels: M-54 OS-Linux OS-Mac OS-Windows
Status: Untriaged (was: Unconfirmed)