Pen pointerevents clientX/Y are sometimes incorrect |
||
Issue descriptionLooking at http://w3c.github.io/test-results/pointerevents/all.html it seems that client X/Y for pen events are sometime incorrect (like "Inner frame pen pointerenter's ClientX and ClientY attributes are correct"). I wonder if this is due to the floating point coordinates or something is wrong with the test itself. Ella, could you also give it a try and see what could be causing this?
,
Jul 12
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/df94a28e9988135e91dc8d0d841864344b7cde7c commit df94a28e9988135e91dc8d0d841864344b7cde7c Author: Ella Ge <eirage@chromium.org> Date: Thu Jul 12 17:39:20 2018 update hoverable pointerevent wpt Update test wpt/pointerevent_attributes_hoverable_pointers This test was failing occationally on manual test, when we have clientX == box.right or clientY == box.bottom. update the test assertion so coordinates on border can be consider inside box. Note that on right border can also be outside box for the mouseevents. because we truncate the coordinates into interger. Bug: 863029 Change-Id: Id20fbe0b6cf8566e6cdee229f427a0c747ed0c0a Reviewed-on: https://chromium-review.googlesource.com/1135432 Commit-Queue: Ella Ge <eirage@chromium.org> Reviewed-by: Navid Zolghadr <nzolghadr@chromium.org> Cr-Commit-Position: refs/heads/master@{#574624} [modify] https://crrev.com/df94a28e9988135e91dc8d0d841864344b7cde7c/third_party/WebKit/LayoutTests/external/wpt/pointerevents/pointerevent_attributes_hoverable_pointers-manual.html
,
Jul 12
|
||
►
Sign in to add a comment |
||
Comment 1 by eirage@chromium.org
, Jul 12