Explorar o código

set background clip to content-box

Gildas %!s(int64=7) %!d(string=hai) anos
pai
achega
efae508fe6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lib/single-file/single-file-core.js

+ 1 - 1
lib/single-file/single-file-core.js

@@ -1171,7 +1171,7 @@ this.SingleFileCore = this.SingleFileCore || (() => {
 
 		static setBackgroundImage(element, url, style) {
 			element.style.setProperty("background-blend-mode", "normal", "important");
-			element.style.setProperty("background-clip", "border-box", "important");
+			element.style.setProperty("background-clip", "content-box", "important");
 			element.style.setProperty("background-position", style && style["background-position"] ? style["background-position"] : "center", "important");
 			element.style.setProperty("background-color", style && style["background-color"] ? style["background-color"] : "transparent", "important");
 			element.style.setProperty("background-image", url, "important");