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

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