Function style::attr::do_parse_integer
source ยท fn do_parse_integer<T: Iterator<Item = char>>(input: T) -> Result<i64, ()>
Expand description
Shared implementation to parse an integer according to https://html.spec.whatwg.org/multipage/#rules-for-parsing-integers or https://html.spec.whatwg.org/multipage/#rules-for-parsing-non-negative-integers