Skip to content

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

Closed

Description

@hayatoito

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions