- From: Dominic Cooney <notifications@github.com>
- Date: Mon, 14 Nov 2016 22:46:41 -0800
- To: w3c/webcomponents <webcomponents@noreply.github.com>
Received on Tuesday, 15 November 2016 06:47:12 UTC
I'm looking at [document createElement](https://dom.spec.whatwg.org/#dom-document-createelement) step 5 which says: > If is is non-null and definition is null, then throw a NotFoundError. However autonomous custom elements don't throw this error, but create an element that is upgraded later. I think parser created custom elements (of both kinds) are upgraded later. Why are customized built-in elements handled differently? I think they could just rely on [concept create element](https://dom.spec.whatwg.org/#concept-create-element) step 7 ("otherwise ...") like parser-created customized built-in elements, and all autonomous custom elements, do. Sorry if I'm missing some history here. I'd be interested to hear what Mozilla thinks about this since I see code for custom elements including customized built-in elements landing in Firefox. We are implementing this in Blink now and we can implement this step but it seems semantically odd. -- 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/608
Received on Tuesday, 15 November 2016 06:47:12 UTC