Move the code for computing the total width/height of a chunk of output to utils.
HtmlSerializer: Specify white-space: nowrap so that the output isn't squeezed in some settings.
1.0.1