Re: Containing block for absolutely positioned elements

On Tuesday 30 August 2005 22:17, Stanimir Stamenkov wrote:
> /Stanimir Stamenkov/:
> > Amaya 9.2.1 doesn't determine the containing block for absolutely
> > positioned elements correctly. Seems a containing block is established
> > only if its 'position' property is 'absolute' or 'fixed'.

This bug is now fixed.
I also made the change concerning viewports and margin, border, padding.
But I don't understand what rule says that the last div is smaller than 
others.

>
> Here's an online test case:
>
> http://stanio.info/containing_block.html
>
> and the reference rendering:
>
> http://stanio.info/containing_block.png
>
>
> Absolute positioning is not much useful for "laying out" the main
> content but does pretty good job for adding ornaments where they are
> positioned relatively to elements in the normal flow and the only
> way for those to become containing blocks is to have 'position:
> relative'.

-- 
     Irène.
-----
Irène Vatton                     INRIA Rhône-Alpes
INRIA                               ZIRST
e-mail: Irene.Vatton@inria.fr       655 avenue de l'Europe
Tel.: +33 4 76 61 53 61             Montbonnot
Fax:  +33 4 76 61 52 07             38334 Saint Ismier Cedex - France

Received on Wednesday, 31 August 2005 13:36:23 UTC