[Webkit-unassigned] [Bug 210024] New: iPadOS with mouse: interaction media features (pointer/hover/any-pointer/any-hover) don't report mouse

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Apr 5 06:43:55 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=210024

            Bug ID: 210024
           Summary: iPadOS with mouse: interaction media features
                    (pointer/hover/any-pointer/any-hover) don't report
                    mouse
           Product: WebKit
           Version: Safari 13
          Hardware: iPhone / iPad
                OS: iOS 13
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: redux at splintered.co.uk

Created attachment 395505

  --> https://bugs.webkit.org/attachment.cgi?id=395505&action=review

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).

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200405/75c6f6dd/attachment-0001.htm>


More information about the webkit-unassigned mailing list