Re: [dev-servo] Selector matching in Rust

2013-07-12 Thread L. David Baron
On Friday 2013-06-28 21:58 +0100, Simon Sapin wrote: > Hi, > > With my CSS parser being mostly complete, the next part to replacing > NetSurf’s LibCSS in Servo is selector matching. > > Part of that is doing it in a way that can meet our performance > requirements. I’ve been going through Gecko’s

Re: [dev-servo] Selector matching in Rust

2013-07-01 Thread Jet Villegas
t;Benjamin Smedberg" To: "Jet Villegas" Cc: "Boris Zbarsky" , mozilla-dev-se...@lists.mozilla.org Sent: Monday, July 1, 2013 8:41:46 AM Subject: Re: [dev-servo] Selector matching in Rust On 6/30/13 2:53 AM, Jet Villegas wrote: > I'd love to see us make some bold

Re: [dev-servo] Selector matching in Rust

2013-07-01 Thread Benjamin Smedberg
On 6/30/13 2:53 AM, Jet Villegas wrote: I'd love to see us make some bold moves here for application development use cases (think asm.js for CSS.) Can we define a strict subset of CSS syntax with clear semantics for parallel processing, raster caches, hardware acceleration, and general app res

Re: [dev-servo] Selector matching in Rust

2013-06-29 Thread Jet Villegas
ginal Message - From: "Boris Zbarsky" To: mozilla-dev-se...@lists.mozilla.org Sent: Friday, June 28, 2013 6:56:27 PM Subject: Re: [dev-servo] Selector matching in Rust On 6/28/13 4:58 PM, Simon Sapin wrote: > * Different rules can use the same selector. Map unique selectors each > t

Re: [dev-servo] Selector matching in Rust

2013-06-28 Thread Boris Zbarsky
On 6/28/13 4:58 PM, Simon Sapin wrote: * Different rules can use the same selector. Map unique selectors each to a list of rules, so that identical selectors do not need to be matched more than once. That's an interesting idea; it's worth measuring how often this is useful in practice *