ソースを参照

don't remove existing fonts from the cache

Gildas 7 年 前
コミット
7a7ec09087
1 ファイル変更0 行追加1 行削除
  1. 0 1
      lib/single-file/font-face-proxy.js

+ 0 - 1
lib/single-file/font-face-proxy.js

@@ -28,7 +28,6 @@ this.fontFaceProxy = this.fontFaceProxy || (() => {
 			featureSettings: "font-feature-settings"
 		};
 
-		Array.from(document.fonts).forEach(fontFace => document.fonts.delete(fontFace));
 		const FontFace = window.FontFace;
 		window.__defineGetter__("FontFace", () => new Proxy(FontFace, {
 			construct(FontFace, argumentsList) {