On 3/19/18 11:21 AM, Emilio Cobos Álvarez wrote:
> On 11/29/17 6:36 PM, Mike Taylor wrote:
>>
>>> On Nov 29, 2017, at 10:53 AM, Emilio Cobos Álvarez <emi...@crisal.io> wrote:
>>>
>>> In bug 1035091 I intend to remove support for the @-moz-document CSS
>>> rule in content pages (more exactly in author stylesheets).
>>
>> This is a pretty widely used mechanism to target styles for Gecko. Would it 
>> be possible to disable in non-release for a few releases to sniff out any 
>> major layout/compat bustage?
> 
> Just for completeness, we did find breakage (see dependencies of that
> bug). I fixed most of those, and Youtube fixed theirs on their side.
> 
> All of it was related to @-moz-document url-prefix(), so even though I'd
> still like to eventually get rid of it, for now I've added a pref:
> 
>   layout.css.moz-document.url-prefix-hack.enabled
> 
> which controls whether @-moz-document url-prefix() parses or not.
> 
> The intention is that for pre-release builds there's no change (no
> @-moz-document in content at all) since we still want to eventually flip
> that pref, but for release we'll ship:
> 
>   layout.css.moz-document.content.enabled = false;
>   layout.css.moz-document.url-prefix-hack.enabled = true;
> 
> That is, pages with @-moz-document url-prefix() { foo } will keep
> working, but not other matching function like regex().
> 
> Let me know if there's any concern with doing this.

Oh, missed it, this is tracked in bug 1446470.

> 
>  -- Emilio
> _______________________________________________
> 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