|
|
@@ -167,7 +167,7 @@ this.docHelper = this.docHelper || (() => {
|
|
|
doc.querySelectorAll("img[src]").forEach((imageElement, imageElementIndex) => {
|
|
|
const computedStyle = getComputedStyle(imageElement);
|
|
|
let imageData = {}, size = getSize(imageElement);
|
|
|
- if (imageElement.src && size && !computedStyle.getPropertyValue("background-image")) {
|
|
|
+ if (imageElement.src && size && (!computedStyle.getPropertyValue("background-image") || computedStyle.getPropertyValue("background-image") == "none")) {
|
|
|
imageElement.setAttribute(imagesAttributeName(options.sessionId), imageElementIndex);
|
|
|
imageData = size;
|
|
|
}
|