iframe.contentWindow.print () prints blank space in chrome65 and is normal in chrome66. What is the reason?
main code:
var tabhtml = $("-sharpfromHTMLtestdiv").html();
var iframe = document.createElement("Iframe");
iframe.style.display = "none";
document.body.appendChild(iframe);
var doc = iframe.contentWindow.document;
doc.write(tabhtml);
doc.close();
iframe.contentWindow.print();
print the contents of iframe.contentWindow.document,