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

Re: [css3-background] New use case for background-position-x (&y!)

From: Lee Kowalkowski <lee.kowalkowski@googlemail.com>
Date: Tue, 9 Nov 2010 11:02:42 +0000
Message-ID: <AANLkTimz_rpqwY3Z57FWS68_VA4GwpvNOj-cEorBk7BL@mail.gmail.com>
To: Brad Kemper <brad.kemper@gmail.com>
Cc: "Tab Atkins Jr." <jackalmage@gmail.com>, "www-style@w3.org" <www-style@w3.org>
On 09/11/2010, Brad Kemper <brad.kemper@gmail.com> wrote:
> Right, besides that, it also means that you cannot have a flexibly sized box
> with a background-color that extends out beyond the edge of the image in a
> single element.

Huh?  Sure you can.  Just don't use a sprite image.

> you mostly can't use background-position in its "normal" way
> without revealing some part of an unrelated image

No!  Don't use sprite images and you'll be fine.

This doesn't sound like opposition of -x/-y or -left/-top/-right/-bottom.

I'm not asking to redefine background-position, you can still use
background-position in normal ways!

Received on Tuesday, 9 November 2010 11:03:19 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:40 UTC