[Webkit-unassigned] [Bug 209292] CSS hover and pointer media queries not working with iOS 13.4 mouse support

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 20 10:00:53 PDT 2020


--- Comment #6 from Devon Govett <govett at adobe.com> ---
> On balance, I think it would be better if thoughtful sites kept their layout touch-suitable even when a pointing device is attached, which suggests those should be always false.

I would agree for (pointer: fine) (it should always be false), but for (hover: hover) it would be nice if it changed dynamically depending on what the user is using. For example, if wrapped in a hover media query, you could apply hover effects only when the user is hovering over an element with a mouse and not when using touch.

The :hover pseudo selector is sticky with touch: tap once to get the hover effect, tap again to remove it. In cases where the hover effect isn't important for touch, we can use the hover media query to enable it only for mouse input. For that reason, I think it's important that the media query match while using a mouse, and not match while using touch.

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/20200320/0477c888/attachment.htm>

More information about the webkit-unassigned mailing list