XHTMLRENDERER-336 (https://code.google.com/p/flying-saucer/issues/detail?id=43) throw an IAE if the content height or width is 0 or lesst (this happens when the margins are too big)