The attributes of got/lostpointercapture events should be set from the other pointer event that caused them in the first place. See https://github.com/w3c/pointerevents/pull/122/
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/3bd09006149797436511e02f4196ce54a91cd72e commit 3bd09006149797436511e02f4196ce54a91cd72e Author: nzolghadr <nzolghadr@chromium.org> Date: Mon Aug 08 20:04:38 2016 Fix properties of got/lostpointercapture Make the attributes of got/lostpointercapture the same as the event that caused them to be fired. In the case of the delayed processing that will be the very next pointerevent. In the case of implicit release that will be pointerup/cancel right before got/lostpointercapture event. BUG= 632766 Review-Url: https://codereview.chromium.org/2199263005 Cr-Commit-Position: refs/heads/master@{#410409} [modify] https://crrev.com/3bd09006149797436511e02f4196ce54a91cd72e/third_party/WebKit/LayoutTests/fast/events/pointerevents/mouse-pointer-capture-expected.txt [modify] https://crrev.com/3bd09006149797436511e02f4196ce54a91cd72e/third_party/WebKit/LayoutTests/fast/events/pointerevents/mouse-pointer-capture.html [modify] https://crrev.com/3bd09006149797436511e02f4196ce54a91cd72e/third_party/WebKit/Source/core/events/PointerEventFactory.cpp [modify] https://crrev.com/3bd09006149797436511e02f4196ce54a91cd72e/third_party/WebKit/Source/core/events/PointerEventFactory.h [modify] https://crrev.com/3bd09006149797436511e02f4196ce54a91cd72e/third_party/WebKit/Source/core/input/PointerEventManager.cpp
Comment 1 by nzolghadr@chromium.org
, Aug 8 2016