text

Above, the yellow box is given relative positioning, so it should be the containing block for the absolutly positioned "text". So the text should be positioned inside the yellow box, 5em from the left edge. There is a float between the positioned text and the yellow containing block, which should not affect positioning.