WebIDLpedia

FontFacePalette interface

Definition

CSS Font Loading Module Level 3 defines FontFacePalette



[Exposed=(Window,Worker)]
interface FontFacePalette {
  iterable<DOMString>;
  readonly attribute unsigned long length;
  getter DOMString (unsigned long index);
  readonly attribute boolean usableWithLightBackground;
  readonly attribute boolean usableWithDarkBackground;
};

Methods and attributes that return objects implementing FontFacePalette

Referring IDL interfaces/dictionaries