@percy/dom 1.31.9-beta.0 → 1.31.9-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundle.js +1 -0
- package/package.json +2 -2
package/dist/bundle.js
CHANGED
|
@@ -300,6 +300,7 @@
|
|
|
300
300
|
styleId = styleSheet.ownerNode.getAttribute('data-percy-element-id');
|
|
301
301
|
if (!styleId && ignoreStyleSheetSerializationErrors) continue;
|
|
302
302
|
cloneOwnerNode = clone.querySelector(`[data-percy-element-id="${styleId}"]`);
|
|
303
|
+
if (!cloneOwnerNode) continue; // Skip if element not found in clone
|
|
303
304
|
if (styleSheetsMatch(styleSheet, styleSheetFromNode(cloneOwnerNode))) continue;
|
|
304
305
|
let style = document.createElement('style');
|
|
305
306
|
style.type = 'text/css';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@percy/dom",
|
|
3
|
-
"version": "1.31.9-beta.
|
|
3
|
+
"version": "1.31.9-beta.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -35,5 +35,5 @@
|
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"interactor.js": "^2.0.0-beta.10"
|
|
37
37
|
},
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "34c4a2808d110f13a47a863b10b2105ab71eb4ea"
|
|
39
39
|
}
|