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

Re: Containing block for absolutely positioned elements

From: Stanimir Stamenkov <stanio@myrealbox.com>
Date: Tue, 30 Aug 2005 23:17:44 +0300
Message-ID: <4314BEE8.5010901@myrealbox.com>
To: www-amaya@w3.org

/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'.

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'.

-- 
Stanimir
Received on Tuesday, 30 August 2005 20:17:59 UTC

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