Module style::attr [] [src]

Parsed representations of DOM attributes.

Structs

AttrIdentifier

A struct that uniquely identifies an element's attribute.

Enums

AttrValue
LengthOrPercentageOrAuto

Functions

parse_double

Parse a floating-point number according to https://html.spec.whatwg.org/multipage/#rules-for-parsing-floating-point-number-values

parse_integer

Parse an integer according to https://html.spec.whatwg.org/multipage/#rules-for-parsing-integers.

parse_legacy_color

Parses a legacy color. If unparseable, Err is returned.

parse_length

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

parse_nonzero_length

https://html.spec.whatwg.org/multipage/#rules-for-parsing-non-zero-dimension-values

parse_unsigned_integer

Parse an integer according to https://html.spec.whatwg.org/multipage/#rules-for-parsing-non-negative-integers