[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 #6 from Dimitri Glazkov <dglazkov@chromium.org> 2012-08-29 19:57:03 UTC ---
(In reply to comment #5)
> (In reply to comment #4)
> 
> > Doesn't the generated constructor already have this information? All we need to
> > do is call it, right?
> 
> I am dumb. Ignore me. Let me ponder this.

Here's what I came up with: we should be able to look up a definition from
prototype.
Once we do, we can adjust the constructor generation algorithm to recursively
look up the prototype and repeat the shadow root instantiation steps.

Naturally, actual implementations may choose to use other, more performant ways
to achieve the same thing. WDYT?

-- 
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 19:57:04 UTC