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

On Wed, Oct 9, 2013 at 2:54 PM, Elliott Sprehn <> 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.


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