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

2013-03-18 Thread Dimitri Glazkov
On Sun, Mar 17, 2013 at 1:46 PM, Elliott Sprehn espr...@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

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

2013-03-18 Thread Elliott Sprehn
On Mon, Mar 18, 2013 at 9:19 AM, Dimitri Glazkov dglaz...@google.comwrote: On Sun, Mar 17, 2013 at 1:46 PM, Elliott Sprehn espr...@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

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

2013-03-17 Thread Elliott Sprehn
On Sat, Mar 16, 2013 at 2:29 PM, Dimitri Glazkov dglaz...@google.comwrote: On Thu, Mar 14, 2013 at 8:09 PM, Dominic Cooney domin...@google.comwrote: On Fri, Mar 15, 2013 at 9:43 AM, Dimitri Glazkov dglaz...@google.comwrote: Here's one scenario where keeping components Documents might be a

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

2013-03-16 Thread Dimitri Glazkov
On Thu, Mar 14, 2013 at 8:09 PM, Dominic Cooney domin...@google.com wrote: On Fri, Mar 15, 2013 at 9:43 AM, Dimitri Glazkov dglaz...@google.comwrote: Here's one scenario where keeping components Documents might be a good idea. Suppose you just built a multi-threaded parser into your renderer

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

2013-03-14 Thread Dimitri Glazkov
Here's one scenario where keeping components Documents might be a good idea. Suppose you just built a multi-threaded parser into your renderer engine, and you would like to hook it up to start loading multiple components in parallel. How difficult will it be for you to do this if they were all

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

2013-03-14 Thread Dominic Cooney
On Fri, Mar 15, 2013 at 9:43 AM, Dimitri Glazkov dglaz...@google.comwrote: Here's one scenario where keeping components Documents might be a good idea. Suppose you just built a multi-threaded parser into your renderer engine, and you would like to hook it up to start loading multiple

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

2013-03-13 Thread Erik Arvidsson
Also, how would you resolve URLs. Can I use base? On Mar 12, 2013 10:22 PM, Dominic Cooney domin...@google.com wrote: On Tue, Mar 12, 2013 at 8:13 AM, Dimitri Glazkov dglaz...@google.comwrote: Hi folks! Just had a quick discussion with Elliott and he suggested that instead of building

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

2013-03-13 Thread Dimitri Glazkov
On Tue, Mar 12, 2013 at 10:20 PM, Dominic Cooney domin...@google.comwrote: On Tue, Mar 12, 2013 at 8:13 AM, Dimitri Glazkov dglaz...@google.comwrote: Hi folks! Just had a quick discussion with Elliott and he suggested that instead of building full-blown Documents, the link rel=components

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

2013-03-13 Thread Dimitri Glazkov
On Wed, Mar 13, 2013 at 7:25 AM, Erik Arvidsson a...@google.com wrote: Also, how would you resolve URLs. Can I use base? Interesting question. If indeed using base is a requirement, we can't use DocumentFragments. Another point here: since each component has its own location, then

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

2013-03-13 Thread Dominic Cooney
On Thu, Mar 14, 2013 at 5:14 AM, Dimitri Glazkov dglaz...@google.comwrote: On Tue, Mar 12, 2013 at 10:20 PM, Dominic Cooney domin...@google.comwrote: On Tue, Mar 12, 2013 at 8:13 AM, Dimitri Glazkov dglaz...@google.comwrote: Hi folks! Just had a quick discussion with Elliott and he

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

2013-03-13 Thread Scott Miles
Developers will absolutely concat components together, often the entire apps worth. They will also use them separately. This flexibility is one of the great strengths of this simple concept. As Dimitri mentioned, Web Components solves a great many of the loader issues (both at development and

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

2013-03-12 Thread Dominic Cooney
On Tue, Mar 12, 2013 at 8:13 AM, Dimitri Glazkov dglaz...@google.comwrote: Hi folks! Just had a quick discussion with Elliott and he suggested that instead of building full-blown Documents, the link rel=components just make DocumentFragments, just like template does. I am confused by what

[webcomponents]: Making link rel=components produce DocumentFragments

2013-03-11 Thread Dimitri Glazkov
Hi folks! Just had a quick discussion with Elliott and he suggested that instead of building full-blown Documents, the link rel=components just make DocumentFragments, just like template does. Looking at http://www.whatwg.org/specs/web-apps/current-work/multipage/dom.html#the-document-object and