[adding emk (VYV03354) to CC; he added support for unprefixed gradients,
and landed the patch to drop support for prefixed gradients]
On 07/14/2015 04:36 PM, Karl Dubost wrote:
> Mozilla dropped support for -moz- gradients. [1]
> This creates Web Compatibility issues. In a couple of days we found...
Yeah, this seems concerning. :-/
> There are two options here. Reverse the dropping of -moz- and do it in a more collegial way with other browser vendors. So it breaks heavenly everywhere and we have more chances to get it fixed. (CSS Working Group).
I can imagine we *might( be able to get Microsoft to join us & drop -ms
prefixed gradient support. But I'm extremely skeptical that
Blink/WebKit-based browsers would be open to dropping their -webkit
prefixed gradient support. By our own judgement in bug 1107378, the web
(particularly the mobile web) requires -webkit-gradient support at the
moment. I can't imagine webkit/blink browsers jumping at the chance to
break all those sites.
> And/or drop but taking care of -moz- when standard properties are not there with the CSS unprefixing service [2] enabled for the Web (what we are planning but not yet done [3]).
Two other options:
(3) Add back -moz gradient support and consider it an unfortunate bit of
web legacy that we have to support, for the time being at least. (This is
functionally equivalent to your second option, but is easier & more direct.)
(4) Add back -moz gradient support, behind an about:config flag, and keep
it disabled *only* on Nightly for the immediate future, to evaluate how
bad things are & how far we can get with evangelism (without affecting
release users).
Right now, I'm leaning towards (3). But if we really do let this change
ride the trains in any way, it's looking like we need to be prepared to do
tons of evangelism and help web developers rewrite their gradients (since
the conversion between -moz-linear-gradient & linear-gradient syntax is
non-obvious in many cases). Maybe we can provide a tool to automate the
conversion process so there's no guesswork and less need to check
documentation; but it's still going to be a lot of evang.