CSS Interaction Media Features are not behaving like they should on 2&1 devices

Confirmed Issue #11218483 • Assigned to Rossen A.

Details

Author
Alexis M.
Created
Mar 9, 2017
Privacy
This issue is public.
Found in
  • Microsoft Edge
  • Chrome
  • Opera
Standard affected
Media Queries Level 4

Found in build #
14.14393
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

Edge ships with support of https://drafts.csswg.org/mediaqueries-4/#mf-interaction but they don’t behave as they should on detachable or convertible devices. When you detach/flip the keyboard/mouse there is no more mouse/trackpad therefore any-pointer and pointer should have the “coarse” value only. Edge always returns "fine".

Demo page with the issue : https://googlechrome.github.io/samples/media-hover-pointer/
Another demo page : https://davidwalsh.name/demo/pointer-media-query.php

Chrome is affected by the bug as well but I’m working on fixing it. See the discussion here :
https://groups.google.com/a/chromium.org/forum/#!topic/input-dev/ZBs3tSCMhYw and proposed patch https://codereview.chromium.org/2737123003/#ps20001.

Feel free to reach me/chrome to align the behavior.

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Sermet I.”

      Changed Assigned To to “Bogdan B.”

      Changed Assigned To from “Bogdan B.” to “Sermet I.”

      Changed Assigned To to “Bogdan B.”

      Changed Assigned To from “Bogdan B.” to “Rossen A.”

      Changed Status to “Confirmed”

    You need to sign in to your Microsoft account to add a comment.

    Sign in