Don't copy styles for regular computed rendering

This commit is contained in:
Niklas von Hertzen
2017-08-18 20:52:29 +08:00
parent 4f96abfb7b
commit f79ae2b73a
4 changed files with 12 additions and 8 deletions

View File

@ -115,7 +115,7 @@ const assertPath = (result, expected, desc) => {
.html2canvas(testContainer.contentWindow.document.documentElement, {
removeContainer: true
})
.then((canvas) => {
.then(canvas => {
try {
canvas
.getContext('2d')