@applitools/dom-capture
Advanced tools
Comparing version 7.0.17 to 7.0.18
@@ -1,2 +0,2 @@ | ||
/* @applitools/dom-capture@7.0.17 */ | ||
/* @applitools/dom-capture@7.0.18 */ | ||
@@ -366,2 +366,9 @@ function __captureDom() { | ||
for (const p of styleProps) style[p] = computedStyle.getPropertyValue(p); | ||
if (!style['border-width']) { | ||
style['border-width'] = `${computedStyle.getPropertyValue( | ||
'border-top-width', | ||
)} ${computedStyle.getPropertyValue('border-right-width')} ${computedStyle.getPropertyValue( | ||
'border-bottom-width', | ||
)} ${computedStyle.getPropertyValue('border-left-width')}`; | ||
} | ||
@@ -368,0 +375,0 @@ const rect = {}; |
@@ -1,2 +0,2 @@ | ||
/* @applitools/dom-capture@7.0.17 */ | ||
/* @applitools/dom-capture@7.0.18 */ | ||
@@ -366,2 +366,9 @@ function __captureDomAndPoll() { | ||
for (const p of styleProps) style[p] = computedStyle.getPropertyValue(p); | ||
if (!style['border-width']) { | ||
style['border-width'] = `${computedStyle.getPropertyValue( | ||
'border-top-width', | ||
)} ${computedStyle.getPropertyValue('border-right-width')} ${computedStyle.getPropertyValue( | ||
'border-bottom-width', | ||
)} ${computedStyle.getPropertyValue('border-left-width')}`; | ||
} | ||
@@ -368,0 +375,0 @@ const rect = {}; |
@@ -1,2 +0,2 @@ | ||
/* @applitools/dom-capture@7.0.17 */ | ||
/* @applitools/dom-capture@7.0.18 */ | ||
'use strict'; | ||
@@ -363,2 +363,9 @@ | ||
for (const p of styleProps) style[p] = computedStyle.getPropertyValue(p); | ||
if (!style['border-width']) { | ||
style['border-width'] = `${computedStyle.getPropertyValue( | ||
'border-top-width', | ||
)} ${computedStyle.getPropertyValue('border-right-width')} ${computedStyle.getPropertyValue( | ||
'border-bottom-width', | ||
)} ${computedStyle.getPropertyValue('border-left-width')}`; | ||
} | ||
@@ -365,0 +372,0 @@ const rect = {}; |
{ | ||
"name": "@applitools/dom-capture", | ||
"version": "7.0.17", | ||
"version": "7.0.18", | ||
"main": "index.js", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -127,2 +127,9 @@ 'use strict'; | ||
for (const p of styleProps) style[p] = computedStyle.getPropertyValue(p); | ||
if (!style['border-width']) { | ||
style['border-width'] = `${computedStyle.getPropertyValue( | ||
'border-top-width', | ||
)} ${computedStyle.getPropertyValue('border-right-width')} ${computedStyle.getPropertyValue( | ||
'border-bottom-width', | ||
)} ${computedStyle.getPropertyValue('border-left-width')}`; | ||
} | ||
@@ -129,0 +136,0 @@ const rect = {}; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
950533
21079