W3C home > Mailing lists > Public > www-style@w3.org > November 2011

Re: [css3-images] aliases for 'cover' and 'contain'

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Fri, 4 Nov 2011 09:40:53 -0700
Message-ID: <CAAWBYDB7FeUhcxRe3Q7eB0qTkBhdwsXj6r5v7Ci_EGaaT9_29w@mail.gmail.com>
To: Brad Kemper <brad.kemper@gmail.com>
Cc: fantasai <fantasai.lists@inkedblade.net>, "www-style@w3.org" <www-style@w3.org>
On Fri, Nov 4, 2011 at 6:44 AM, Brad Kemper <brad.kemper@gmail.com> wrote:
> I'm probably damning your idea to an instant rejection from Brian by agreeing with you, but I have stated before that we 'nearest-corner' and 'farthest-side' are not that useful. The only time you can see the difference between them and 'cover/contain' is when the bg-position is off-center, and you see them get clipped in generally un-useful ways.
> If we had only 'cover' and 'contain', AND changed 'contain' to mean "contain within the sides that you are not moving towards via bg-position", then you would be keeping it both useful and simple, and would continue to let authors get the most popular combinations of side-based and corner-based sizing and clipping.

Once again, we have a WG resolution on radial-gradient functionality.
I'm not going against the WG resolution and changing any of the
functionality; the only thing left to do is settle on the new syntax.
Any new functionality requests will be addressed in level 4.

Received on Friday, 4 November 2011 16:41:49 UTC

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