• Ella Ge's avatar
    point-base hit-test after touch adjustment in root frame · f2bba0c6
    Ella Ge authored
    On touch adjustment, we do a point-base hit test after the rect-base one
    to make sure we find the correct target. This cl changes the point-base
    hit test from the iframe to the root frame. Because when we have iframe
    overlap by other elements, rect-base hit test might result an incorrect
    target in the iframe. In-frame hit-test cannot find the correct target
    that is outside the iframe. So, we should do the point-base hit-test on
    root-frame to find the correct target.
    
    Bug: 864849
    Change-Id: Ib176a68e5c51eba40c504ad90190bec7fb66dccb
    Reviewed-on: https://chromium-review.googlesource.com/1145477Reviewed-by: default avatarNavid Zolghadr <nzolghadr@chromium.org>
    Reviewed-by: default avatarDave Tapuska <dtapuska@chromium.org>
    Commit-Queue: Ella Ge <eirage@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#577946}
    f2bba0c6
gesture-util.js 8.27 KB