Skip to content

Commit

Permalink
use dataj-percy-serialized
Browse files Browse the repository at this point in the history
  • Loading branch information
samarsault committed Feb 9, 2023
1 parent d4ff7c7 commit ff1bdff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/dom/src/serialize-cssom.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export function serializeCSSOM({ dom, clone, warnings, resources }, adoptedStyle
resources.add(resource);
adoptedStylesMap.set(sheet, resource.url);
}
styleLink.setAttribute('href', adoptedStylesMap.get(sheet));
styleLink.setAttribute('data-percy-serialized-attribute-href', adoptedStylesMap.get(sheet));

if (clone.constructor.name === 'HTMLDocument') {
// handle document and iframe
Expand Down

0 comments on commit ff1bdff

Please sign in to comment.