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

Re: [css-images][css-backgrounds] Clipping at the concrete object size.

From: Dirk Schulze <dschulze@adobe.com>
Date: Wed, 3 Apr 2013 06:25:23 -0700
To: Simon Sapin <simon.sapin@exyr.org>
CC: www-style list <www-style@w3.org>
Message-ID: <51687E6D-9F28-4025-98AF-5F2797557487@adobe.com>

On Apr 3, 2013, at 6:13 AM, "Simon Sapin" <simon.sapin@exyr.org> wrote:

> Hi,
> 
> From the "CSS‚áčObject Negotiation" section:
>> 4. Unless otherwise specified by CSS, the object is then clipped to
>> the concrete object size.
> 
> It might be worth noting that nothing in CSS 2.1, css-images-3 or 
> css-backgrounds-3 specifies such a thing. In other words, unless a 
> feature is added to CSS in the future to do something else, objects are 
> always clipped to their concrete object size.
> 
> For some reason I had the idea that this was not the case for gradients 
> (which are infinite, after all.) I had to check in existing 
> implementations that a gradient background with no-repeat and a definite 
> background size is indeed clipped.

Yes, that is true. In SVG we want to support CSS gradients as well and this would be a problem. We discussed special casing gradients to not clip in SVG.

Dirk

 
> 
> -- 
> Simon Sapin
> 
Received on Wednesday, 3 April 2013 13:25:51 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:10 UTC