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


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 UTC