This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 28543 - Custom elements should call user defined constructor synchronously
Summary: Custom elements should call user defined constructor synchronously
Status: RESOLVED MOVED
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: HISTORICAL - Component Model (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Dimitri Glazkov
QA Contact: public-webapps-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-22 23:38 UTC by Ryosuke Niwa
Modified: 2015-07-06 08:07 UTC (History)
2 users (show)

See Also:


Attachments

Description Ryosuke Niwa 2015-04-22 23:38:23 UTC
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.
Comment 1 Hayato Ito 2015-07-06 08:07:45 UTC
Moved to https://github.com/w3c/webcomponents/issues/137