- From: TAMURA, Kent <notifications@github.com>
- Date: Tue, 09 Oct 2018 02:01:57 -0700
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 9 October 2018 09:02:18 UTC
> Does it have different semantics as the constructor? > Can an attribute be added there? That's a good point. We don't allow DOM mutation in a custom element constructor (See step 6.1.4-7 of [**create an element**](https://dom.spec.whatwg.org/#concept-create-element). If we kick the callback inside **create an element** steps, we should prevent the callback from DOM mutation in order to avoid breaking createElement() semantics. -- 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/758#issuecomment-428116367
Received on Tuesday, 9 October 2018 09:02:18 UTC