W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2013

Re: [webcomponents]: Making <link rel="components"> produce DocumentFragments

From: Dominic Cooney <dominicc@google.com>
Date: Fri, 22 Mar 2013 14:59:46 +0900
Message-ID: <CAHnmYQ_5xGtg3ti2Zdq+Ozh7Kte_H2HMDhMfPtUY4j84xiuvZg@mail.gmail.com>
To: Dimitri Glazkov <dglazkov@google.com>
Cc: Elliott Sprehn <esprehn@gmail.com>, public-webapps <public-webapps@w3.org>
On Tue, Mar 19, 2013 at 1:19 AM, Dimitri Glazkov <dglazkov@google.com>wrote:

> On Sun, Mar 17, 2013 at 1:46 PM, Elliott Sprehn <esprehn@gmail.com> wrote:
>> I'd rather like it if the spec said "the component document is a document
>> that's always in standards mode and has no children" and then the contents
>> of the component were put into a DocumentFragment.
> Should it bother us that depending on the implementation, one document
> could be shared among all component fragments or not?

Yes. The spec should be prescriptive on this point.

I think that the content property should be DocumentFragment, for
consistency with template, and because document has irrelevant API.

Email SLA <http://goto.google.com/dc-email-sla> •
Received on Friday, 22 March 2013 06:00:13 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:13:59 UTC