- From: <bugzilla@jessica.w3.org>
- Date: Wed, 29 Aug 2012 00:42:13 +0000
- To: public-webapps-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=18731 Summary: [Custom]: custom element instantiation omits does not provide a method to initialize shadow roots (i.e. lifecycle.created) Product: WebAppsWG Version: unspecified Platform: PC OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Component Model AssignedTo: dglazkov@chromium.org ReportedBy: sorvell@chromium.org QAContact: public-webapps-bugzilla@w3.org CC: sjmiles@chromium.org Blocks: 14968 A custom element should be able to do work on its shadow root. The Web Components explainer defines a lifecycle object partly for this purpose (http://dvcs.w3.org/hg/webcomponents/raw-file/tip/explainer/index.html#lifecycle-methods). The lifecycle's created method is called with a reference to the shadow root. The lifecycle object should likely be included in this spec, and calling the created method should be included in the custom element constructor generation algorithm, where element shadow root is made. Note that the created method must be called for each shadow root made for the element (see https://www.w3.org/Bugs/Public/show_bug.cgi?id=18729 about how an element can have multiple shadow roots). -- Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
Received on Wednesday, 29 August 2012 00:42:14 UTC