Re: [CSS21] Contradiction in the spec with auto-offset fixed-position elements

On Sun, 7 Nov 2004, Boris Zbarsky wrote:
> > 
> > Maybe we should change it to "For the purposes of calculating the static
> > position, the containing block of fixed positioned elements is the initial
> > containing block instead of the viewport, and all scrollable boxes should be
> > assumed to be scrolled to their origin." or some such?
> 
> That is, is there a reason for specifying a complicated algorithm here, 
> just enough different from the absolute positioning one that you 
> probably have to implement them separately, instead of specifying 
> something simple?  If there are existing implementations that behave in 
> this way and pages depending on it, I suppose that could be considered 
> such a reason... are there?

I'd be happy with just saying "use top:0", but when I suggested that, I 
lost the argument. I forget why.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Sunday, 7 November 2004 06:39:47 UTC