Re: [dev-servo] CSSOM ownership woes

2016-11-14 Thread Manish Goregaokar
On Mon, Nov 14, 2016 at 5:11 PM, Xidorn Quan wrote: > I guess it is probably doable, but that means parsing and traversing the > tree would involve lots of additional FFI calls to build and access the > tree in Gecko side. It also can't be done lazily if it's a single tree. My current Servo-side

Re: [dev-servo] CSSOM ownership woes

2016-11-14 Thread Xidorn Quan
On Tue, Nov 15, 2016, at 04:03 AM, Simon Sapin wrote: > On 11/11/16 12:22, Manish Goregaokar wrote: > > Servo currently has a style tree (stylesheets->rulelist->rules->other > > rules and rule lists) in style::Stylesheet[1], and this is shared with > > the DOM via Arcs. As I understand it, Gecko, o

Re: [dev-servo] CSSOM ownership woes

2016-11-14 Thread Simon Sapin
On 11/11/16 12:22, Manish Goregaokar wrote: Servo currently has a style tree (stylesheets->rulelist->rules->other rules and rule lists) in style::Stylesheet[1], and this is shared with the DOM via Arcs. As I understand it, Gecko, on the other hand, just uses the CSSOM DOM tree and has no "style t

Re: [dev-servo] Servo embedding story & killing mozbrowser

2016-11-14 Thread Paul Rouget
On Sat, Nov 12, 2016 at 1:46 AM, wrote: > On Friday, November 11, 2016 at 2:05:28 AM UTC-8, Paul Rouget wrote: > >> We would like a Servo-specific embedding API, designed in a way that: >> - it is optimised for Servo (we don't want to be limited by the webkit >> or gecko legacy) > > For Quantum,