On Thu, Dec 16, 2010 at 10:40 AM, Boris Zbarsky <bzbarsky@mit.edu> wrote: > On 12/15/10 11:29 AM, Dimitri Glazkov wrote: >> >> That seems like an implementation detail. Metadata can be shared and >> cloned as needed, just like styles in CSS. > > Sort of. It would need to be cloned as soon as the shadow tree is mutated, > right? That seems like very fragile behavior from a web author point of > view, where it's easy to deoptimize without realizing it. At least we can produce simple advice on how to definitely avoid deoptimizing - stick with the declarative syntax and don't mutate the shadow. With luck, enough use-cases will be solveable with the declarative syntax that this will be an acceptable restriction. ~TJReceived on Thursday, 16 December 2010 19:53:44 UTC
This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:13:14 UTC