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

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 UTC