Просмотр исходного кода

set background clip to content-box

Gildas 7 лет назад
Родитель
Сommit
efae508fe6
1 измененных файлов с 1 добавлено и 1 удалено
  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) {
 		static setBackgroundImage(element, url, style) {
 			element.style.setProperty("background-blend-mode", "normal", "important");
 			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-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-color", style && style["background-color"] ? style["background-color"] : "transparent", "important");
 			element.style.setProperty("background-image", url, "important");
 			element.style.setProperty("background-image", url, "important");