Issue metadata
Sign in to add a comment
|
Drag over div over iframe does not receive dragover events
Reported by
i...@vivaldi.com,
Jan 19
(3 days ago)
|
||||||||||||||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36 Vivaldi/2.2.1388.37 Steps to reproduce the problem: 1. Open the attached file. It contains a drag-drop example with an absolutely positioned div on top over iframe. 2. Drag the green "Drag me!" element over the yellow text. What is the expected behavior? When the drag object over the yellow div, the document should receive dragover events and continue to report their position. What went wrong? The dragover events are only received and reported when the drag object is outside of the iframe. When it is dragged into iframe, no events are received even if the object over the yellow div positioned on top of the iframe. Did this work before? Yes Chromium 71 Does this work in other browsers? Yes Chrome version: 72.0.3626.55 Channel: beta OS Version: Ubuntu 18.04 Flash Version: It seems this is regression due to enabled VizHitTestDrawQuad feature. In particular, the drag API calls into RenderWidgetHostInputEventRouter::GetRenderWidgetHostAtPoint(). That function calls FindViewAtLocation(). In the example that function return the view for the iframe and sets should_query_view to true when the mouse is over the div positioned over the iframe. But GetRenderWidgetHostAtPoint() ignores the flag and incorrectly returns the child view, not the view for the parent. |
|||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||
Comment 1 by phistuck@chromium.org
, Jan 19 (3 days ago)Status: Duplicate (was: Unconfirmed)