W3C home > Mailing lists > Public > www-style@w3.org > September 2004

Re: [css3-background] background-position

From: fantasai <fantasai.lists@inkedblade.net>
Date: Fri, 03 Sep 2004 22:21:00 -0400
Message-ID: <4139268C.8070603@inkedblade.net>
To: www-style@w3.org

Anne van Kesteren wrote:

> 
>> Wouldn't that actually mean inherit the value from the parent, rather
>> than keep the currently assigned value.  I think it would have to be a
>> new keyword that just means don't even change whatever value is
>> assigned.  Maybe 'current' or something along those lines.
> 
> Oops. You are totally correct. If CSS 3 would introduce such a global 
> keyword I guess the problem is solved. Maybe this could be added to the 
> CSS3 module: Values and Units[1]?

What would be the use case? If you want the current value, wouldn't you
just /not/ specify the property? The problem with background-position is
that the x and y values cascade together, but this can't be solved with
a keyword: the cascade always deals with a property (unless it's a shorthand)
as a whole.

~fantasai

-- 
http://fantasai.inkedblade.net/contact
Received on Saturday, 4 September 2004 02:25:55 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:32 GMT