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

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

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 3 Apr 2013 07:57:03 -0700
Message-ID: <CAAWBYDBRs-kHBiRzaXT2NGFWyNBJKBypnyZxns7TB+bQt3mPRg@mail.gmail.com>
To: Simon Sapin <simon.sapin@exyr.org>
Cc: www-style list <www-style@w3.org>
On Wed, Apr 3, 2013 at 6:10 AM, Simon Sapin <simon.sapin@exyr.org> wrote:
> 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.

Dirk brings up that SVG will be specifying such a thing, and fantasai
and I intend to add a value to background-repeat that doesn't do
clipping.  (Last time it came up, the planned name was 'extend'.)

Received on Wednesday, 3 April 2013 14:57:50 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:28 UTC