W3C home > Mailing lists > Public > www-amaya@w3.org > July to September 2005

Re: Containing block for absolutely positioned elements

From: Irene Vatton <Irene.Vatton@inrialpes.fr>
Date: Wed, 31 Aug 2005 15:35:21 +0200
To: Stanimir Stamenkov <stanio@myrealbox.com>
Cc: www-amaya@w3.org
Message-Id: <200508311535.21321.vatton@inrialpes.fr>

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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:30:48 UTC