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

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

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Thu, 3 Oct 2013 13:34:55 -0700
Message-ID: <CAAWBYDBQc0xjjXzcuwsN6go8X-fGmCjLPzDtXS0iqJt+zq8A2A@mail.gmail.com>
To: Mihnea-Vlad Ovidenie <mihnea@adobe.com>
Cc: Boris Zbarsky <bzbarsky@mit.edu>, "www-style@w3.org" <www-style@w3.org>
On Thu, Oct 3, 2013 at 12:45 PM, Mihnea-Vlad Ovidenie <mihnea@adobe.com> wrote:
> On 10/1/13 6:07 PM, "Boris Zbarsky" <bzbarsky@MIT.EDU> wrote:
>>Indeed.  Gecko would represent the above as a vector of tagged unions on
>>the c++ side.
>
> Are you saying that Gecko has support for the above scenario without
> multiple inheritance in the C++ layer? Would you mind pointing me to where
> I should take a look and what are the interfaces involved?

Boris just said how it's done - with tagged unions.  We definitely use
tagged unions in a few places in WebKit/Blink code.  (I think
CSSValue, or some interface around that area, uses it.)

~TJ
Received on Thursday, 3 October 2013 20:35:43 UTC

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