Re: Backgrounds: Suggestion for improving background positioning

On Tue, 13 Jun 2006 23:15:17 +0300, Anne van Kesteren <annevk@opera.com>  
wrote:

>
> On Tue, 13 Jun 2006 22:12:03 +0200, Kelly Miller  
> <lightsolphoenix@gmail.com> wrote:
>> Instead of changing background-position, why not leave it and add a new
>> property that specifies where background-position is in respect to?  For
>> example, by default background-position is done from the top left.  But
>> if you entered top right as the source and used background position, 5px
>> 5px would push the image 5 pixels from both the top and the right side,
>> and using 100% for the horizontal position would be the same as 0 from
>> the top left.  In the same way, there could also be bottom left and
>> bottom right, allowing positioning images with respect to the bottom
>> corners.  Maybe even an entry to position from the center as well?
>
> Why would you need this when we get calc()?
>

Will calc be implemented? I hope so!
http://www.w3.org/TR/css3-values/#calc
The answer to the question posed in 3.7.4 is a resounding yes :)

I am also interested in the latest news on fixed-background positioning  
with respect to position: relative elements and not just viewports. Any  
plans / words on it?

-- 
Emrah BASKAYA
www.hesido.com

Received on Tuesday, 13 June 2006 20:26:38 UTC