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 19:57:03 +0000
Message-Id: <E1T6oNr-00039n-ED@jessica.w3.org>
To: public-webapps-bugzilla@w3.org
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 29 August 2012 19:57:04 GMT