- From: <bugzilla@jessica.w3.org>
- Date: Wed, 29 Aug 2012 00:40:53 +0000
- To: public-webapps-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=18729
Summary: [Custom]: instantiation algorithm omits creating
shadow roots for custom base elements
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
Scott Miles <sjmiles@chromium.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |sjmiles@chromium.org
A custom element can extend another custom element (section 5.2). For each
extendee, there must be an opportunity to create a shadow root.
This requirement seems omitted from the custom element instantiation algorithm
in section 4.
--- Comment #1 from Scott Miles <sjmiles@chromium.org> 2012-08-29 00:40:53 UTC ---
Recursive shadow-dom creation requires information about the extendee.
The section 4 algorithm takes only 'prototype' and 'template' inputs and it's
difficult to infer the extendee name from that input (it would require
searching the custom element registry for matching prototypes).
For our polyfill implementation we attached 'extendsName' to 'prototype' to get
around this problem.
--
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:40:55 UTC