mirror of
https://github.com/niklasvh/html2canvas.git
synced 2023-08-10 21:13:10 +03:00
Update document-cloner.ts
the method of getComputedStyle.content maybe 'normal'.
This commit is contained in:
parent
6020386bbe
commit
31e8b19171
@ -387,7 +387,7 @@ export class DocumentCloner {
|
||||
|
||||
const value = style.content;
|
||||
const document = clone.ownerDocument;
|
||||
if (!document || !value || value === 'none' || value === '-moz-alt-content' || style.display === 'none') {
|
||||
if (!document || !value || value === 'normal' || value === 'none' || value === '-moz-alt-content' || style.display === 'none') {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user