|
|
@@ -1335,6 +1335,9 @@ this.SingleFileCore = this.SingleFileCore || (() => {
|
|
|
if (imgData.objectPosition) {
|
|
|
backgroundStyle["background-position"] = imgData.objectPosition;
|
|
|
}
|
|
|
+ if (imgData.backgroundColor) {
|
|
|
+ backgroundStyle["background-color"] = imgData.backgroundColor;
|
|
|
+ }
|
|
|
DomProcessorHelper.setBackgroundImage(imgElement, "var(" + variableName + ")", backgroundStyle);
|
|
|
imgElement.removeAttribute(dataAttributeName);
|
|
|
return true;
|