Re: [css3-background] background-position

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 UTC