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

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

From: Lev Solntsev <greli@mail.ru>
Date: Tue, 09 Nov 2010 11:32:18 +0300
To: www-style@w3.org
Message-ID: <op.vlv9z4zp39dhqv@lev-pc>
Lee Kowalkowski <lee.kowalkowski@googlemail.com> писал(а) в своём письме  
Tue, 09 Nov 2010 01:05:14 +0300:

> No, it makes it a compromise.  Because for some reason,
> background-position was never implemented as its individual
> properties, unlike margin with -top -right -bottom -left, etc, etc...

Speaking of this it makes sense to introduce background-position-top,
-left, -right and -bottom instead of old -x and -y.
I have just thought about the use case: imagine you have a some image
positioned like bullet and want place it left for ltr languages and right
for rtl. Then you have only to change background-position horizontal
position and you not actually need to change vertical one. The latter
may vary due to different issues.
Received on Tuesday, 9 November 2010 08:32:06 UTC

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