Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Intent to unship: @media (-moz-touch-enabled)

85 views
Skip to first unread message

Emilio Cobos Álvarez

unread,
Oct 17, 2019, 3:22:40 AM10/17/19
to dev-pl...@lists.mozilla.org
Hi all,

In bug 1588737 I plan to remove access to the -moz-touch-enabled media
feature.

This is a non-standard media-query feature that predates the standard
hover and any-hover media features. It seems that Modernizr (a fairly
popular library to do feature detection) bogusly uses it to assume that
touch events are enabled on a given device, which confuses websites like
the one in the bug.

There's no reason these days to use it, and even our frontend doesn't
even use it anymore, so I'm going to try to disable it for Nightly /
Early beta for now, and assuming there's no compat fallout I'll disable
it everywhere eventually (I'll send a follow-up email to this list when
that happens).

Let me know if there's any concerns with doing this.

Thanks,

-- Emilio

Emilio Cobos Álvarez

unread,
Dec 9, 2019, 11:54:30 AM12/9/19
to dev-pl...@lists.mozilla.org
This follow-up is happening now in:

https://bugzilla.mozilla.org/show_bug.cgi?id=1486964

-- Emilio
0 new messages