W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2010

Re: Fwd: XBL2: First Thoughts and Use Cases

From: Dimitri Glazkov <dglazkov@google.com>
Date: Thu, 16 Dec 2010 13:03:09 -0800
Message-ID: <AANLkTinB9F_oX+=aGpxGZeS3gipZAxeKeUt7JyX_J-OU@mail.gmail.com>
To: Olli@pettay.fi
Cc: "Tab Atkins Jr." <jackalmage@gmail.com>, Boris Zbarsky <bzbarsky@mit.edu>, public-webapps <public-webapps@w3.org>
On Thu, Dec 16, 2010 at 12:23 PM, Olli Pettay <Olli.Pettay@helsinki.fi> wrote:
> On 12/16/2010 11:52 AM, Tab Atkins Jr. wrote:
>>
>> 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.
>
> Well, at least with XBL1 modifying the shadow tree is very common.
> And I would assume that to be rather common with XBL2 too.

Yes.

>
>
> -Olli
>
>
>>
>> ~TJ
>>
>>
>
>
Received on Thursday, 16 December 2010 21:03:39 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:42 GMT