diff --git a/src/dom/document-cloner.ts b/src/dom/document-cloner.ts index b4a234e..07bc560 100644 --- a/src/dom/document-cloner.ts +++ b/src/dom/document-cloner.ts @@ -448,7 +448,7 @@ export const copyCSSStyles = (style: CSSStyl for (let i = style.length - 1; i >= 0; i--) { const property = style.item(i); // Safari shows pseudoelements if content is set - if (property !== 'content') { + if (property !== 'content' && property !== 'all') { target.style.setProperty(property, style.getPropertyValue(property)); } }