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

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

From: Dirk Schulze <dschulze@adobe.com>
Date: Wed, 24 Oct 2012 14:40:38 -0700
To: "robert@ocallahan.org" <robert@ocallahan.org>
CC: "www-style@w3.org list" <www-style@w3.org>
Message-ID: <94D3BD94-D375-4432-BBD5-2EEE1FF8B45F@adobe.com>

On Oct 24, 2012, at 2:26 PM, "Robert O'Callahan" <robert@ocallahan.org<mailto:robert@ocallahan.org>> wrote:

On Wed, Oct 24, 2012 at 3:43 AM, Dirk Schulze <dschulze@adobe.com<mailto:dschulze@adobe.com>> wrote:
Not sure if that can be easily implemented on all platforms (since some graphics libraries and some HW accelerated need a maximum size anyway).

Sure but the browser already knows what the actual visual bounds are and can use that.

But my main concern are percentage values that always need to be resolved to to one of the boxes on mask-clip. Sometimes you want them to be relative to the whole group.

What percentage values are relative to the mask-clip edges?

Relative values on SVG for example:

<svg width="100%" height="100%">
...

Which is very common on SVG, since these are the default values.

Greetings
Dirk



For your shadow example we have filter-box.

That's a bit counter-intuitive for people who simply don't want the mask to be clipped.

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 Wednesday, 24 October 2012 21:41:10 GMT

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