Re: [webcomponents] Feedback for web components spec from a GWT experiment

2014-01-08 Thread Boris Zbarsky
On 1/6/14 8:52 PM, Goktug Gokdogan wrote: function MyCustomElement() {}; MyCustomElement.prototype = Object.create(HTMLElement.prototype); document.appendChild(new MyCustomElement()); If this were actually using ES6 classes (and if HTMLElement were constructible), this would in fact w

Re: [webcomponents]: Allowing text children of ShadowRoot is a bad time

2014-01-08 Thread Anne van Kesteren
On Wed, Jan 8, 2014 at 9:01 AM, Elliott Sprehn wrote: > And have textNode.textContent or nodeValue throw an exception if you try to > make it into a non-whitespace node? That could work. We would not actually make them part of the final tree I think. -- http://annevankesteren.nl/

Re: [webcomponents]: Allowing text children of ShadowRoot is a bad time

2014-01-08 Thread Anne van Kesteren
On Tue, Jan 7, 2014 at 10:59 PM, Tab Atkins Jr. wrote: > On Tue, Jan 7, 2014 at 2:42 PM, Elliott Sprehn wrote: >> If dropping them is too gross we might want to just consider this a lost >> cause and warn authors away from putting text in there due to the issues I >> outlined in my original email

Re: [webcomponents]: Allowing text children of ShadowRoot is a bad time

2014-01-08 Thread Elliott Sprehn
On Tue, Jan 7, 2014 at 2:59 PM, Tab Atkins Jr. wrote: > On Tue, Jan 7, 2014 at 2:42 PM, Elliott Sprehn wrote: > > On Tue, Oct 29, 2013 at 4:20 AM, Anne van Kesteren > wrote: > >> On Tue, Oct 29, 2013 at 7:34 AM, Simon Pieters > wrote: > >> > On Tue, 29 Oct 2013 00:54:05 +0100, Anne van Kestere