pub fn parse_length_attr(s: &str) -> Result<Length, String>
Parse length attribute (width, height, etc.)