Incorporating replaced element handling into display list based rendering.