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

Re: [css-masking] new value for 'mask-clip'

From: Robert O'Callahan <robert@ocallahan.org>
Date: Fri, 26 Oct 2012 22:23:24 +1300
Message-ID: <CAOp6jLbHos1KjW-FmTebGJGcFyMntRH93Y4Ckypak13ty_6s5Q@mail.gmail.com>
To: Dirk Schulze <dschulze@adobe.com>
Cc: "www-style@w3.org list" <www-style@w3.org>
On Fri, Oct 26, 2012 at 9:19 PM, Dirk Schulze <dschulze@adobe.com> wrote:

> The ellipse defined by this image would clip on the border box of the
> container. In absolute coordinates: cx=100, cy=100, rx=100, ry=100. Even
> with a value 'mask-clip: none', the ellipse would be the size of the
> container and clip to the border box of the container. But in the case
> above, you may want the ellipse mask the the whole group and not just the
> container.


In CSS you can't do anything with that "whole group box". It doesn't really
exist as a concept. (Except, arguably, influencing what you can scroll to
in a scrollable container.) I'm not sure we want to introduce it just for
the sake of masking here.

It would be more convincing if you could come up with an actual use-case.

Rob
-- 
“You have heard that it was said, ‘Love your neighbor and hate your enemy.’
But I tell you, love your enemies and pray for those who persecute you,
that you may be children of your Father in heaven. ... If you love those
who love you, what reward will you get? Are not even the tax collectors
doing that? And if you greet only your own people, what are you doing more
than others?" [Matthew 5:43-47]
Received on Friday, 26 October 2012 09:23:57 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:01 GMT