Re: [css3-background] background-position

>>> 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.

In that case having 'background-position-x' and 'background-position-y' 
is probably the best solution. If I understand you correctly, that is.


-- 
  Anne van Kesteren
  <http://annevankesteren.nl/>

Received on Sunday, 5 September 2004 14:33:09 UTC