Module fontface

Source

Structsยง

FontFace
https://drafts.csswg.org/css-font-loading/#fontface-interface
FontFaceErrorReporter ๐Ÿ”’

Constantsยง

_IMPL_DOMOBJECT_FOR_FontFace ๐Ÿ”’

Functionsยง

parse_font_face_descriptors ๐Ÿ”’
Given the various font face descriptors, construct the equivalent @font-face css rule as a string and parse it using style crate. Returns Err(Error::Syntax) if parsing fails.
serialize_parsed_descriptors ๐Ÿ”’