this page tests images vertical alignment for common doctypes. each iframes is rendered with a different doctype (none is for no doctype at all) the second image in each iframes is redered by html2canvas and added to the ifrave with a red border, first with foreingObject, then without