style::attr

Function parse_length

Source
pub fn parse_length(value: &str) -> LengthOrPercentageOrAuto
Expand description

Parses a dimension value. If unparseable, Auto is returned.