Bug 233636 - Pointer events are not triggered inside object elements on iPhone Safari
Summary: Pointer events are not triggered inside object elements on iPhone Safari
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: UI Events (show other bugs)
Version: Safari 15
Hardware: iPhone / iPad iOS 15
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-11-30 07:13 PST by kari.pihkala
Modified: 2021-12-07 07:14 PST (History)
7 users (show)

See Also:


Attachments
testcase.html (1.17 KB, text/html)
2021-11-30 07:13 PST, kari.pihkala
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description kari.pihkala 2021-11-30 07:13:55 PST
Created attachment 445412 [details]
testcase.html

Pointer events, such as onpointerdown, onpointerup, onpointerenter and onpointerleave, are not triggered on iPhone Safari.

How to reproduce:

1. Host the attached testcase.html file on a server.
2. Load the testcase.html page on iPhone Safari from the server.
3. Tap the black circle. Hold the finger down, the circle should become green (triggered by onpointerdown).
4. Release and the circle becomes dark gray (triggered by onclick).

Step 3 fails on iPhone Safari. The circle doesn't become green, which means that onpointerdown is not triggered. It does become dark gray when the touch is released, so onclick is correctly triggered.

Other pointer events are not triggered either (note: they are not tested by the testcase to keep it simple).

Tested to fail on iOS Safari 15.1. All events are triggered correctly on Mac Safari 15.1 (16612.2.9.1.30, 16612).
Comment 1 kari.pihkala 2021-11-30 07:23:52 PST
Note: Step 1 is not necessary. Just open the testcase.html on iPhone or Mac by clicking the link to the attachment 445512 [details].
Comment 2 kari.pihkala 2021-11-30 23:28:49 PST
Sorry, it's the attachment 445412 [details] (not 445512).
Comment 3 Radar WebKit Bug Importer 2021-12-07 07:14:21 PST
<rdar://problem/86155189>