Bug 219188

Summary: PointerDown not fired after PointerUp on disabled form element
Product: WebKit Reporter: Rob Snow <rsnow>
Component: UI EventsAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: ahmad.saleem792, akeerthi, ap, bfulgham, cdumez, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: Safari 14   
Hardware: Mac   
OS: macOS 10.15   
Bug Depends on: 251246    
Bug Blocks:    

Description Rob Snow 2020-11-19 17:40:30 PST
See codesandbox https://codesandbox.io/s/eloquent-herschel-pgwci?file=/index.html
1) open developer console
2) click 'foo'
3) click 'bar'

Expected:
onPointerDown on foo
onPointerDown on bar
onPointerUp on bar

Observed:
onPointerDown on foo
onPointerUp on bar

Works in Chrome and Firefox

Other relevant info:
https://bugs.chromium.org/p/chromium/issues/detail?id=695979
https://wpt.fyi/results/pointerevents?label=experimental&label=master&aligned
Comment 1 Radar WebKit Bug Importer 2020-11-26 17:41:15 PST
<rdar://problem/71755418>
Comment 2 Ahmad Saleem 2022-09-03 15:21:17 PDT
All browsers differ from each other on Code Sandbox:

*** Safari 15.6.1 ***

pointerdown foo 
pointerup bar 

*** Firefox Nightly 106 ***

pointerdown foo 
pointerdown bar 
pointerup bar 

*** Chrome Canary 107 ***

pointerdown foo 
pointerup foo 
pointerdown bar 
pointerup bar 

________

I am not sure on the exact behavior aligned with web-spec but I hope someone else would be able to comment. Just sharing updated testing results. Thanks!