make sure the image used for the detection of the underline is positioned correctly

This commit is contained in:
Obexer Christoph 2011-11-23 13:53:15 +01:00
parent 2ec7fda1f1
commit 66d328d1e3

View File

@ -182,6 +182,7 @@ html2canvas.Parse = function (element, images, opts) {
img.style.margin = 0;
img.style.padding = 0;
img.style.verticalAlign = "baseline";
span.style.fontFamily = font;
span.style.fontSize = fontSize;