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

2019-12-09 Thread Emilio Cobos Álvarez

On 10/17/19 9:22 AM, Emilio Cobos Álvarez wrote:

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


This follow-up is happening now in:

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

 -- Emilio
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


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

2019-10-17 Thread Emilio Cobos Álvarez

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
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform