layout: Take relative positioning into account when determining
containing block positions for absolutely positioned flows.

Fixes lines 10 and 11 (smile) of Acid2.
layout: Fix minimum and preferred width calculations to account for
borders/padding/margins correctly.