Skip to main content

map_line_height_leaf

Function map_line_height_leaf 

Source
fn map_line_height_leaf(context: &Context<'_>, leaf: &Leaf) -> Leaf
Expand description

Maps a line-height calc leaf into a resolved leaf. Percentages are replaced with equivalent em lengths, and all lengths are resolved to absolute lengths.