Fix web_test pointerevent_coordinates_when_locked on wpt
The test was failing on WPT[1] because test driver only takes integer coordinates, but the test was using getBoundingClientRect which returns float values. This CL changes the test to set the "origin" for test driver actions so that there is no need to use getBoundingClientRect. [1] https://wpt.fyi/results/pointerevents/pointerlock/pointerevent_coordinates_when_locked.html Change-Id: I56b2c052805b3bc174573564d176d6660accd7cb Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1553645Reviewed-by:Lan Wei <lanwei@chromium.org> Commit-Queue: Ella Ge <eirage@chromium.org> Cr-Commit-Position: refs/heads/master@{#647877}
Showing
Please register or sign in to comment