[webcomponents] Custom elements should call user defined constructor synchronously (bugzilla: 28543) (#137)

Title: Custom elements should call user defined constructor synchronously (bugzilla: 28543)

Migrated from: https://www.w3.org/Bugs/Public/show_bug.cgi?id=28543

----
comment: 0
comment_url: https://www.w3.org/Bugs/Public/show_bug.cgi?id=28543#c0
*Ryosuke Niwa* wrote on 2015-04-22 23:38:23 +0000.

See https://lists.w3.org/Archives/Public/public-webapps/2015JanMar/0731.html

We should make the custom element's constructor be called synchrnously instead of at the end of the micro-task since that's not consistent with builtin elements and exposes "unconstructed" elements in some cases; e.g. immediately after cloning or setting innerHTML.

---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/137

Received on Monday, 6 July 2015 07:36:08 UTC