[webkit-dev] Multiple inheritance in the DOM

Adam Barth abarth at webkit.org
Thu Jul 26 15:38:18 PDT 2012


Please see my initial email for the answer to that question.  Specifically,
you're suggesting that the answer to question (A) is "no" and the answer to
question (B) is "build another one-off RTTI replacement."

Adam


On Thu, Jul 26, 2012 at 3:35 PM, Andrei Bucur <abucur at adobe.com> wrote:

> Identifying what the Region actually is sounds very similar with
> identifying the nature of a Node using NodeType? Is this pattern applicable
> here as well?****
>
> ** **
>
> https://developer.mozilla.org/en/nodeType****
>
> ** **
>
> Andrei.****
>
> ** **
>
> *From:* webkit-dev-bounces at lists.webkit.org [mailto:
> webkit-dev-bounces at lists.webkit.org] *On Behalf Of *Adam Barth
> *Sent:* Friday, July 27, 2012 1:15 AM
> *To:* Alan Stearns
> *Cc:* Kentaro Hara; Elliott Sprehn; webkit-dev at lists.webkit.org; Sam
> Weinig
>
> *Subject:* Re: [webkit-dev] Multiple inheritance in the DOM****
>
> ** **
>
> For Alex's suggestion above, would there be any problems with a parameter
>
> (for the first method) and return type (for the second) that could be an
> Element or something else? Adding two helper methods seems messier to me
> than what's currently specced, but I'm open to the idea if it's much
> easier to implement.****
>
> ** **
>
> It depends on how many things will implement Region.  If there are N
> things, you'll need to add N properties and you're essentially asking web
> developers to call QueryInterface on the object to see what sort of Region
> it really is.****
>
> ** **
>
> Adam****
>
> ** **
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20120726/bf8f3596/attachment.html>


More information about the webkit-dev mailing list