<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>210025</bug_id>
          
          <creation_ts>2020-04-05 06:44:19 -0700</creation_ts>
          <short_desc>iPadOS with mouse: interaction media features (pointer/hover/any-pointer/any-hover) don&apos;t report mouse</short_desc>
          <delta_ts>2020-04-07 11:38:32 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>CSS</component>
          <version>Safari 13</version>
          <rep_platform>iPhone / iPad</rep_platform>
          <op_sys>iOS 13</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>210024</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Patrick H. Lauke">redux</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1637872</commentid>
    <comment_count>0</comment_count>
    <who name="Patrick H. Lauke">redux</who>
    <bug_when>2020-04-05 06:44:19 -0700</bug_when>
    <thetext>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&apos;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 &quot;primary&quot; 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).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1638672</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2020-04-07 11:38:32 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 210024 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>