- From: Domenic Denicola <notifications@github.com>
- Date: Mon, 18 Apr 2016 14:30:49 -0700
- To: w3c/webcomponents <webcomponents@noreply.github.com>
Received on Monday, 18 April 2016 21:31:34 UTC
> would need to use a private flag / conditional in the connectedCallback Yes, they would. This should be something done very rarely anyway, so making it inconvenient to do so is not a real concern. > Would setting innerHTML or calling appendChild in a constructor throw an error? Yes, or more precisely, it would cause element creation to fail, so `createElement` or the parser or whatever would fail to create the element. > The one given is that it "violates expectations" but I'm unclear on what those expectations are - can anyone elaborate? So far in the history of the DOM, every element ever returned from `createElement` has had no attributes and no children. The expectation is that this invariant can be relied on going forward. --- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/webcomponents/issues/409#issuecomment-211591659
Received on Monday, 18 April 2016 21:31:34 UTC