Bug 197909 - [Pointer Events] A pointer should be marked as primary for all of its events
Summary: [Pointer Events] A pointer should be marked as primary for all of its events
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: UI Events (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Antoine Quint
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2019-05-15 00:47 PDT by Antoine Quint
Modified: 2019-05-19 14:34 PDT (History)
2 users (show)

See Also:


Attachments
Patch (9.57 KB, patch)
2019-05-19 11:04 PDT, Antoine Quint
dino: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Antoine Quint 2019-05-15 00:47:32 PDT
Right now, on iOS at least, we set isPrimary=false for a pointer once it's no longer in contact with the digitizer. That is incorrect, it should remain true until all events are dispatched provided it was the primary pointer when pointerdown was dispatched. Additionally, a pointer should only be primary if it was primary when touches started.
Comment 1 Radar WebKit Bug Importer 2019-05-15 00:47:55 PDT
<rdar://problem/50801608>
Comment 2 Antoine Quint 2019-05-19 11:04:32 PDT
Created attachment 370222 [details]
Patch
Comment 3 Antoine Quint 2019-05-19 14:34:34 PDT
Committed r245505: <https://trac.webkit.org/changeset/245505>