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

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.

~TJ

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