W3C home > Mailing lists > Public > www-amaya@w3.org > October to December 2006

Re: Containing block for absolutely positioned elements

From: Stanimir Stamenkov <stanio@myrealbox.com>
Date: Sun, 22 Oct 2006 14:08:41 +0300
Message-ID: <453B5139.2060306@myrealbox.com>
To: www-amaya@w3.org
/Stanimir Stamenkov/:

> <http://www.w3.org/TR/CSS21/visudet.html#containing-block-details>:
> 
>> 4. If the element has 'position: absolute', the containing block is 
>> established by the nearest ancestor with a 'position' of 'absolute', 
>> 'relative' or 'fixed', in the following way:
>> [...]
>>    2. Otherwise, the containing block is formed by the padding edge 
>> of the ancestor.
> 
> ... the containing block edge 
> is also incorrect. The edge of the containing block which Amaya 
> establishes is the left and right border edge, and the top and 
> bottom margin edge of the ancestor which establishes the containing 
> block, while it should be:
> 
>> ... the containing block is formed by the padding edge of the 
>> ancestor.

Amaya 9.52: the containing block is formed by the margin edge [1] 
(see the attached example) while it must be the padding edge [2], 
like I've pointed previously.

[1] http://www.w3.org/TR/CSS21/box.html#margin-edge
[2] http://www.w3.org/TR/CSS21/box.html#padding-edge

-- 
Stanimir


Received on Sunday, 22 October 2006 11:08:48 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:53:37 UTC