I'd like to see this guarded by its own pref && layout.css.prefixes.webkit

Thanks for working on this, CJ!

--Jet

On Tue, Mar 22, 2016 at 1:59 PM, Ku(顧思捷)CJ <c...@mozilla.com> wrote:

> Summary:
> -webkit-background-clip:text has been available for years in webkit based
> browsers and has seen widespread usage on the web. This css property is
> currently available in Chrome, Safari and Edge.
>
> Bug:
> https://bugzilla.mozilla.org/show_bug.cgi?id=759568
>
> Link to standard:
> https://compat.spec.whatwg.org/#the-webkit-background-clip-property
>
> Platform coverage:
> All platforms.
>
> Estimated or target release:
> Firefox 48
>
> Preference behind which this will be implemented:
> layout.css.prefixes.webkit
>
> Note:
> The way we support this property value is a little bit different with
> webkit.
> After turning on layout.css.prefixes.webkit,
> 1. -webkit-background-clip property is supported.
> 2. In gecko, "text" is a valid value for *both* background-clip and
> -webkit-backkground-clip.
> 3. In webkit, "text" is a valid value for only -webkit-backkground-clip.
>
> If you set "text" into -webkit-background-clip and serialize
> background-clip prop by style.getPropertyValue, you will still get "text",
> which is problematic. dholbert gave more detail explanation on bugzilla:
> https://bugzilla.mozilla.org/show_bug.cgi?id=759568#c40
> _______________________________________________
> dev-platform mailing list
> dev-platform@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-platform
>
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to