W3C home > Mailing lists > Public > public-webapps-bugzilla@w3.org > August 2012

[Bug 18729] [Custom]: instantiation algorithm omits creating shadow roots for custom base elements

From: <bugzilla@jessica.w3.org>
Date: Wed, 29 Aug 2012 17:49:45 +0000
Message-Id: <E1T6mOf-0002Dw-Mj@jessica.w3.org>
To: public-webapps-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=18729

--- Comment #2 from Dimitri Glazkov <dglazkov@chromium.org> 2012-08-29 17:49:45 UTC ---
(In reply to comment #1)
> 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.

Why not just use prototype.constructor?

-- 
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 17:49:47 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 29 August 2012 17:49:47 GMT