Function layout_2013::model::specified_margin_from_style

source ยท
pub fn specified_margin_from_style(
    style: &ComputedValues,
    writing_mode: WritingMode,
) -> LogicalMargin<Au>
Expand description

Returns the explicitly-specified margin lengths from the given style. Percentage and auto margins are returned as zero.

This is used when calculating intrinsic inline sizes.