On 7/25/12 4:49 PM, "Kentaro Hara" <hara...@chromium.org> wrote:

>>>> > A) Should we push back on the folks writing the CSS Regions
>>>> > specification to avoid using multiple inheritance?  As far as I
>>>>know,
>>>> > this is the only instance of multiple inheritance in the platform.
>>>> > Historically, EventTarget used multiple inheritance, but that's been
>>>> > fixed in DOM4 [4].
>
>If it is possible to avoid the multiple inheritance, that would be best.

>From the WebIDL side, it's not strictly multiple inheritance. It's merely
a supplemental interface that more than one object can implement. None of
the members of the Region interface can clash with any of the members of
the object that implements it.

Right now Elements can become CSS Regions, but in the future other objects
will be able to become CSS Regions. As far as I know, the correct way to
specify this kind of relation is with WebIDL supplemental interfaces. I'd
rather figure out the correct way to add this WebIDL functionality to
WebKit now, than put something else into the spec and WebKit that we'll
have to change later.

Thanks,

Alan

_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-dev

Reply via email to