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

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

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 10 Nov 2010 15:27:52 -0800
Message-ID: <AANLkTi=P6Lwcb1XeL2XA2R1TvK4w+1rB3rASY=bP80oy@mail.gmail.com>
To: Brad Kemper <brad.kemper@gmail.com>
Cc: Markus Ernst <derernst@gmx.ch>, "www-style@w3.org" <www-style@w3.org>, "lee.kowalkowski@googlemail.com" <lee.kowalkowski@googlemail.com>
On Wed, Nov 10, 2010 at 3:23 PM, Brad Kemper <brad.kemper@gmail.com> wrote:
> On Nov 10, 2010, at 8:35 AM, "Markus Ernst" <derernst@gmx.ch> wrote:
>> Besides the discussion on image spriting being an appropriate use case or
>> not, I think that Lee's actual request is actually not silly. I share his
>> point that it would be consistent to have the possibility to set background
>> position values separately, but I would consider background-position-top,
>> -right, -bottom, and -left properties more appropriate than -x and -y
>> properties, just as for element position, border and whatever.
> I don't know how that would work if there were 4 component lengths in a
> single declaration. Seems a little more complicated.

Presumably it would be similar to how top/right/bottom/left work right
now - if both -left and -right are specified, the position is
overspecified, and -right is ignored.

Received on Wednesday, 10 November 2010 23:29:19 UTC

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