Skip to main content

serialize_parsed_descriptors

Function serialize_parsed_descriptors 

Source
fn serialize_parsed_descriptors(
    descriptors: &Descriptors,
) -> FontFaceDescriptors
Expand description

Converts the descriptors of a @font-face rule (as defined by stylo) to the the IDL FontFaceDescriptors dictionary used by the JS interface.