pub trait FontFaceSetMethods<D>where
D: DomTypes,{
// Required methods
fn Add(
&self,
font: &<D as DomTypes>::FontFace,
) -> Root<Dom<<D as DomTypes>::FontFaceSet>>;
fn Delete(&self, font: &<D as DomTypes>::FontFace) -> bool;
fn Clear(&self);
fn Load(
&self,
font: DOMString,
text: DOMString,
_can_gc: CanGc,
) -> Rc<<D as DomTypes>::Promise>;
fn Ready(&self) -> Rc<<D as DomTypes>::Promise>;
fn Size(&self) -> u32;
}