Bug 197909

Summary: [Pointer Events] A pointer should be marked as primary for all of its events
Product: WebKit Reporter: Antoine Quint <graouts>
Component: UI EventsAssignee: Antoine Quint <graouts>
Status: RESOLVED FIXED    
Severity: Normal CC: dino, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch dino: review+

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>