DescriptionWhen touch rect is hit-tested against an iframe with scrolled
content, the touch rect is translated into the iframe document's
space using the document's scroll offset. It has
a subtle problem that if originally the touch rect is only
partially overlapping with the iframe, after it is translated
into the iframe document's space, the touch rect might be
considered to be fully contained in the document.
Reinforce the detection by asserting that only when the touch
hit-test rect is totally within the iframe's bound in the main
document's space then do we stop the rect-base hit-test search.
BUG=461972
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=201935
Patch Set 1 #Patch Set 2 : #Patch Set 3 : #
Total comments: 2
Patch Set 4 : optimization that only calling nodeAtPointOverWidget() once #
Total comments: 2
Patch Set 5 : address comments #Patch Set 6 : fix comments #
Messages
Total messages: 12 (3 generated)
|