calcAbsoluteVertical question

David Hyatt hyatt@apple.com
Wed, 8 Jan 2003 23:30:39 -0800


On Wednesday, January 8, 2003, at 11:18 PM, Dirk Mueller wrote:

> yes, but b is relative to padding border.
>

The trunk code is adding the top border of the containing block to t, 
so in effect it increases the value of t by the containing block's top 
border.

Mirroring that it seems like b should also be increased (rather than 
decreased), since higher values of bottom mean you should move further 
inside the block.

Adding borderBottom() instead of subtracting it fixed the bug, but I 
could be misunderstanding something here. :)

dave
(hyatt@apple.com)