Bug 188544 - Synchronously defined custom elements don't get foster-parented
Summary: Synchronously defined custom elements don't get foster-parented
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 154907
  Show dependency treegraph
 
Reported: 2018-08-14 00:08 PDT by Ryosuke Niwa
Modified: 2018-08-22 03:08 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ryosuke Niwa 2018-08-14 00:08:57 PDT
Apparently, I unintentionally disabled foster parenting for synchronously defined custom elements.

On one hand, this doesn't match the spec. On the other hand, being able to define custom elements anywhere seems useful
especially given there doesn't seem to be any compact issues (given WebKit has been shipping this behavior for two years).