Re: Intent to unship: HTML scoped style sheets (

2017-06-21 Thread Jared Wein
I have filed https://bugzilla.mozilla.org/show_bug.cgi?id=1375224 and attached a patch to remove our dependency on

Re: Intent to unship: HTML scoped style sheets (

2017-06-21 Thread Tantek Çelik
On Wed, Jun 21, 2017 at 8:13 AM, Cameron McCormack wrote: > On Wed, Jun 21, 2017, at 10:56 PM, Ehsan Akhgari wrote: >> Why only in the medium term? Restyling is very costly for browser.xul >> right now, and it would be very nice if we can use Stylo to gain some >> advantages there, especially sin

Re: Intent to unship: HTML scoped style sheets (

2017-06-21 Thread Cameron McCormack
On Wed, Jun 21, 2017, at 10:56 PM, Ehsan Akhgari wrote: > Why only in the medium term? Restyling is very costly for browser.xul > right now, and it would be very nice if we can use Stylo to gain some > advantages there, especially since costly restyles in the parent process > do mean UI jank fo

Re: Intent to unship: HTML scoped style sheets (

2017-06-21 Thread Ehsan Akhgari
On 06/20/2017 01:20 AM, Cameron McCormack wrote: On Tue, Jun 20, 2017, at 01:08 PM, Jared Wein wrote: We use a scoped stylesheet for styling the popup for [1]. We chose this route to limit performance impact as well as limit our temporary stylesheet from affecting other parts of the browser UI.

Re: Intent to unship: HTML scoped style sheets (

2017-06-21 Thread Bobby Holley
Yeah - stylo for the frontend would be nice, but it's not part of our MVP. It wouldn't be hard, just presumably implementing a few more scattered internal things and fixing more bugs exposed by the heavier usage of XBL. But we could ship in 57 without it, and so it seems foolish to widen our scope

Re: Intent to unship: HTML scoped style sheets (

2017-06-20 Thread Cameron McCormack
On Wed, Jun 21, 2017, at 02:05 AM, Bobby Holley wrote: > Yeah - stylo for the frontend would be nice, but it's not part of > our MVP. Thanks for confirming what I thought was the case. :-) On Tue, Jun 20, 2017, at 03:26 PM, Patrick Brosset wrote: > Cameron, what bug should this one block (iiuc chr

Re: Intent to unship: HTML scoped style sheets (

2017-06-20 Thread Bobby Holley
Yeah - stylo for the frontend would be nice, but it's not part of our MVP. It wouldn't be hard, just presumably implementing a few more scattered internal things and fixing more bugs exposed by the heavier usage of XBL. But we could ship in 57 without it, and so it seems foolish to widen our scope

Re: Intent to unship: HTML scoped style sheets (

2017-06-20 Thread Chris Peterson
On 6/20/17 2:14 AM, Cameron McCormack wrote: Cameron, what bug should this one block (iiuc chrome support will be removed a bit later, so we have some time, do you already have a bug for that part?) Actually, let me backtrack a little. I might be misremembering our plans for Stylo in chrom

Re: Intent to unship: HTML scoped style sheets (

2017-06-20 Thread Cameron McCormack
On Tue, Jun 20, 2017, at 03:26 PM, Patrick Brosset wrote: > DevTools also uses a scoped stylesheet in its tooltip widget [1]. > I have filed a bug [2] to remove it. Thank you. > Cameron, what bug should this one block (iiuc chrome support will be > removed a bit later, so we have some time, do yo

Re: Intent to unship: HTML scoped style sheets (

2017-06-20 Thread Patrick Brosset
DevTools also uses a scoped stylesheet in its tooltip widget [1]. I have filed a bug [2] to remove it. Cameron, what bug should this one block (iiuc chrome support will be removed a bit later, so we have some time, do you already have a bug for that part?) Thanks! Patrick [1] http://searchfox.or

Re: Intent to unship: HTML scoped style sheets (

2017-06-19 Thread Cameron McCormack
On Tue, Jun 20, 2017, at 01:08 PM, Jared Wein wrote: > We use a scoped stylesheet for styling the popup for [1]. We > chose this route to limit performance impact as well as limit our > temporary stylesheet from affecting other parts of the browser UI. > Will your removal also remove support in th

Re: Intent to unship: HTML scoped style sheets (

2017-06-19 Thread Jared Wein
Hey Cam, We use a scoped stylesheet for styling the popup for [1]. We chose this route to limit performance impact as well as limit our temporary stylesheet from affecting other parts of the browser UI. Will your removal also remove support in the chrome/parent process? [1] http://searchfox.org/

Intent to unship: HTML scoped style sheets (

2017-06-19 Thread Cameron McCormack
HTML scoped style sheets is a feature that allows the effects of style sheets to be scoped to a subtree of a document. Support for this feature was introduced first in Chrome 19 behind a flag (in mid-2012) and in Firefox 21 without a pref (in mid-2013). Since then, Chrome removed their implementa