DescriptionFix telemetry viewport calculations for gestures when zoomed in.
The gesture code tries to calculate the bounding rect for a given
element relative to the viewport in order to send gestures to that
element. However, when the page is pinch-zoomed in, the gesture
code expects the bounding rect to be relative to the visual viewport,
that is, what the user sees. The current code was calculating this
incorrectly in the presence of pinch-zoom. In fact, it's impossible
to calculate correctly without adding additional information about
the visual viewport to the gpuBenchmarking extensions.
This CL depends on landing http://crrev.com/1866793003 and uses the
additional information to accurately calculate the element's rect
relative to the visual viewport.
BUG=chromium:564008
Patch Set 1 #Patch Set 2 : #
Messages
Total messages: 3 (3 generated)
|