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

Re: [css3-background] background-position

From: Anne van Kesteren <fora@annevankesteren.nl>
Date: Sun, 05 Sep 2004 16:32:52 +0200
Message-ID: <413B2394.7060208@annevankesteren.nl>
To: fantasai <fantasai.lists@inkedblade.net>
CC: www-style@w3.org

>>> 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
Received on Sunday, 5 September 2004 14:33:09 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:15 UTC