W3C home > Mailing lists > Public > www-style@w3.org > October 2013

Re: [css-regions] Possible change to the Region interface

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Tue, 01 Oct 2013 11:07:21 -0400
Message-ID: <524AE529.8060609@mit.edu>
To: www-style@w3.org
On 10/1/13 6:22 AM, Cameron McCormack wrote:
> Simon Pieters:
>>     You can make the return value sequence<(Region or Element or
>>     PseudoElement)>
>
> Elliott Sprehn wrote:
>> That still requires multiple inheritance, what type do you represent
>> that as in the C++?
>>
>> I'd rather we didn't have to implement some kind of abstract common base
>> class to PseudoElement and Element just for Regions.
>
> I don't think it necessarily requires multiple inheritance.

Indeed.  Gecko would represent the above as a vector of tagged unions on 
the c++ side.

-Boris
Received on Tuesday, 1 October 2013 15:07:53 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:51:02 UTC