I have filed https://bugzilla.mozilla.org/show_bug.cgi?id=1375224 and
attached a patch to remove our dependency on <style scoped>.

Thanks,
Jared

On Wed, Jun 21, 2017 at 10:56 AM, Ehsan Akhgari <[email protected]>
wrote:

> 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 <select> [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?
>>>
>> For now we'll keep <style scoped> available in chrome documents.  But in
>> the medium term , we will want to style chrome documents with Servo too
>> https://bugzilla.mozilla.org/show_bug.cgi?id=1294570, and at that point
>> we'll have to remove <style scoped> entirely.
>>
> 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 for our users.  I realize that Stylo won't immediately be able
> to style browser.xul, but it seems like we should definitely prioritize
> getting rid of front-end side dependencies that would prevent us from using
> it as soon as the Stylo side of things are ready and sounds like the issue
> Jared mentioned is one such issue.  Does this sound right?
>
_______________________________________________
dev-platform mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to