Browser: Google Chrome 65.0.3325.162
OS: Windows 7 64-bit
Issue:
After update from Chrome 64 to Chrome 65, printing html block shows and prints blank page. Image printing also shows blank page.
Steps to reproduce:
Me too.
Win 10.
Mee too, mac os 10.13.3 (17D102)
This bug is related to recent Chrome modification to support new CSS property display: contents.
Somehow this change breaks iframe rendering, that's why we're getting blank page. As a temporary workaround, I suggest to use style display:contents for iframeElement that is used for printing at /src/js/print.js file.
Probably, I'll prepare a fix soon.
For me, even after setting iframe style to "display: contents" I'm still getting blank page.
The only thing that I can confirm it is working is removing p.setAttribute("style", "display:none") from iframe element in /src/js/print.js file.
Hey guys, I implemented the solution offered by Igor in #133
It seems to have fixed the issue with Chrome v65.
I already pushed the changes to npm as v1.0.33. Just run npm update print-js
Most helpful comment
Hey guys, I implemented the solution offered by Igor in #133
It seems to have fixed the issue with Chrome v65.
I already pushed the changes to npm as v1.0.33. Just
run npm update print-js