Bug 210024 - iPadOS with mouse: interaction media features (pointer/hover/any-pointer/any-hover) don't report mouse
Summary: iPadOS with mouse: interaction media features (pointer/hover/any-pointer/any-...
Status: RESOLVED DUPLICATE of bug 209292
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: Safari 13
Hardware: iPhone / iPad iOS 13
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
: 210025 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-04-05 06:43 PDT by Patrick H. Lauke
Modified: 2020-04-07 13:08 PDT (History)
3 users (show)

See Also:


Attachments
Screenshot from iPad with mouse, showing the failing results from the media feature test (141.47 KB, image/png)
2020-04-05 06:43 PDT, Patrick H. Lauke
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick H. Lauke 2020-04-05 06:43:55 PDT
Created attachment 395505 [details]
Screenshot from iPad with mouse, showing the failing results from the media feature test

Using a bluetooth mouse with iPad and the new mouse support in iPadOS, the pointer/hover/any-pointer/any-hover interaction media features https://drafts.csswg.org/mediaqueries-4/#mf-interaction don't reflect the presence of the mouse.

Testing with https://patrickhlauke.github.io/touch/pointer-hover-any-pointer-any-hover/ is shows that despite the mouse:

- pointer:fine
- any-pointer: fine
- hover:hover
- any-hover:hover

all evaluate to false.

pointer/hover relate to whatever the device/browser considers to be the "primary" input mechanism. So it comes down to deciding if iPad should treat the mouse as primary or not (i.e. if, even with mouse/trackpad present, it should consider the touchscreen its primary). However, regardless of that aspect, the any-pointer:fine and any-hover:hover feature query should evaluate to true (when the mouse/trackpad are present/paired, and ideally dynamically go back to false when no such pointing device is paired).
Comment 1 Alexey Proskuryakov 2020-04-07 11:38:32 PDT
*** Bug 210025 has been marked as a duplicate of this bug. ***
Comment 2 Radar WebKit Bug Importer 2020-04-07 11:38:47 PDT
<rdar://problem/61402599>
Comment 3 Tim Horton 2020-04-07 13:08:01 PDT

*** This bug has been marked as a duplicate of bug 209292 ***