Don't copy styles for regular computed rendering

This commit is contained in:
MoyuScript
2017-08-18 20:52:29 +08:00
parent 249d6f838b
commit 4fb8fcd584
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')