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

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

From: Alan Gresley <alan@css-class.com>
Date: Fri, 12 Nov 2010 17:50:54 +1100
Message-ID: <4CDCE3CE.6020106@css-class.com>
To: Anne van Kesteren <annevk@opera.com>
CC: Brad Kemper <brad.kemper@gmail.com>, Lee Kowalkowski <lee.kowalkowski@googlemail.com>, "Tab Atkins Jr." <jackalmage@gmail.com>, "www-style@w3.org" <www-style@w3.org>
Anne van Kesteren wrote:
> On Thu, 11 Nov 2010 11:59:45 +0100, Lee Kowalkowski 
> <lee.kowalkowski@googlemail.com> wrote:
>> All instances of the shorthand properties that lack the individual
>> properties ought to have started out as separate properties, and
>> optimised afterwards.  Then you would have identified and resolved any
>> interaction issues with other properties up front.
> I do not really agree with this, but given that both Safari/Chrome and 
> IE have background-position-x and background-position-y I think we 
> should add them.

I don't think so. This is just compounding the problem that is already 
present. It is only with background-position that CSS uses x and y 
coordinates. I believe this is since such a technique was used with 
IE4 and 'coord' which are generated by OS app. Also, how do we offset 
from right and bottom? Something like the following is not good.

background-position-x: right 10px;

background-position-y: bottom 10px;

1. <http://en.wikipedia.org/wiki/Cartesian_coordinate_system>

Alan http://css-class.com/

Armies Cannot Stop An Idea Whose Time Has Come. - Victor Hugo
Received on Friday, 12 November 2010 06:51:36 UTC

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