瀏覽代碼

LibWeb/CSS: Stub FontFaceSet.check

Jamie Mansfield 1 年之前
父節點
當前提交
839dc01280
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      Userland/Libraries/LibWeb/CSS/FontFaceSet.idl

+ 1 - 0
Userland/Libraries/LibWeb/CSS/FontFaceSet.idl

@@ -36,6 +36,7 @@ interface FontFaceSet : EventTarget {
     // return whether all fonts in the fontlist are loaded
     // return whether all fonts in the fontlist are loaded
     // (does not initiate load if not available)
     // (does not initiate load if not available)
     // FIXME: boolean check(CSSOMString font, optional CSSOMString text = " ");
     // FIXME: boolean check(CSSOMString font, optional CSSOMString text = " ");
+    [FIXME] boolean check(CSSOMString font, optional CSSOMString text = "");
 
 
     // async notification that font loading and layout operations are done
     // async notification that font loading and layout operations are done
     readonly attribute Promise<FontFaceSet> ready;
     readonly attribute Promise<FontFaceSet> ready;