Implement `position: absolute` for replaced elements.

Add reftests for replaced and nested absolute flows.