Function layout_2013::model::style_length

source ยท
pub fn style_length(
    style_length: &Size,
    container_size: Option<Au>,
) -> MaybeAuto
Expand description

Receive an optional container size and return used value for width or height.

style_length: content size as given in the CSS.