New issue
Advanced search Search tips

Issue 638960 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Bug

Blocked on:
issue 61574



Sign in to add a comment

Mouse events on a pdf object should not be visible to container element

Project Member Reported by mustaq@chromium.org, Aug 18 2016

Issue description

0. Open the repro: http://output.jsbin.com/dufarop
1. Move/click mouse inside green box (the plugin) and also in-between green & grey boxes (parent div).
2. Mousedown on green, drag out to grey.
3. Mousedown on grey, drag into green.

Actual outcome: All mouse events on the pdf object are visible to the html.

Expected: Not sure which spec defines the expected behavior here, but the pdf object behaves clearly differently in both FF & Edge:
  [FF] All mouse events on the pdf object are invisible to the html. Same is true for drags /starting/ on the pdf object.
  [Edge] All mouse events on the pdf object are invisible to the html. A drag that stared in the object & moved out is visible as long as not over the object.

At the very least, we should hide the mouse events on plugins from the containing DOM element.

This came up in another conflicting bug: https://bugs.chromium.org/p/chromium/issues/detail?id=61574#c17


 

Comment 1 by mustaq@chromium.org, Nov 14 2016

Summary: Mouse events on a pdf object should not be visible to container element (was: Mouse events on an object should not be visible to container element)
This is trickier that I thought: the behavior depends on object type!

For flash objects, Chrome, FF & Edge all pass on the mouse events to <object>. Repro: http://output.jsbin.com/luzasa

(The repro in the original post above is for a pdf object.)


Comment 2 by mustaq@chromium.org, Nov 18 2016

Both Issue 61574 and  Issue 659670  seem conflicting with this bug, so I am inclined to mark this one as WAI.

The only question that still puzzles me is: why did both FF & Edge make the pdf object (hides the mouse events) different from flash (crbug.com/61574#c17)?

Blockedon: 61574
Project Member

Comment 4 by sheriffbot@chromium.org, May 21 2018

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
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.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Comment 5 by mustaq@chromium.org, May 22 2018

Owner: mustaq@chromium.org
Status: Assigned (was: Untriaged)
Reassigning to myself.  If anyone is available to work on it soon, feel free to grab it.

Sign in to add a comment