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

On Wed, Oct 9, 2013 at 2:54 PM, Elliott Sprehn <esprehn@gmail.com> wrote:
>
> shadowRoot.appendChild(new Text("")) should probably throw an exception.
>

Woke up in the middle of the night and realized that throwing breaks
ShadowRoot.innerHTML (or we'll have to add new rules to hoist/drop text
nodes in parsing), which sounds bad.

:DG<

Received on Thursday, 24 October 2013 20:06:42 UTC