1. A computer-implemented method comprising: receiving a structured document; encountering an opening tag within the structured document; creating a box builder associated with the opening tag; creating an associated layout box; and using the box builder to sequentially process the structured document and populate the layout box with renderable content.