Re: Containing block for absolutely positioned elements

/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