[VizHitTesting] Skip checking nested iframe when one iframe is marked as kHitTestAsk
When we have nested main_frame->parent_frame->child_frame and only the mid-level parent_frame has kHitTestAsk flag, we should not directly dispatch the event to the child_frame because the parent_frame may have overlapping regions with main_frame divs. Instead RWHIER should always ask when it encounters a mid-level kHitTestAsk flag. To fix the drag and drop issue (crbug.com/804633) in V1, the logic above was broken as a temporary workaround. Now that the drag and drop bug has been formally fixed, we should resume the correct logic. Bug: 995850 Change-Id: Idc380b0249e650d3b73af60f2a1d99f30bee1a3b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1762531Reviewed-by:Robert Kroeger <rjkroege@chromium.org> Commit-Queue: Yi Gu <yigu@chromium.org> Cr-Commit-Position: refs/heads/master@{#688771}
Showing
Please register or sign in to comment