servo/components/style/values
Oriol Brufau 54965bbcb9 style: Fix whitespace handling in clamp() parsing
We should just restore the state when seeing whitespace and an unknown
token like when we do when finding any other token a few lines below.

This is not an issue for most callers (it's only an issue for clamp())
because the other callers use either `parse_comma_separated()` (for
min/max), or `parse_nested_block()` (for parens / nested calc()).

Both of those functions restrict the input in such a way that
is_exhausted returns true (a few lines above) and thus we parse
successfully.

Differential Revision: https://phabricator.services.mozilla.com/D112681
2023-05-19 19:06:07 +02:00
..
animated style: Address spec changes re. color-mix 2023-05-16 12:51:27 +02:00
computed style: Support the type() function in image-set 2023-05-17 02:12:40 +02:00
generics style: Support the type() function in image-set 2023-05-17 02:12:40 +02:00
resolved style: Simplify StyleColor representation 2023-05-16 12:48:27 +02:00
specified style: Fix whitespace handling in clamp() parsing 2023-05-19 19:06:07 +02:00
distance.rs style: Drop fallback attribute from animate and distance. 2020-04-16 16:35:07 +02:00
mod.rs Miscellaneous build / tidy fixes. 2021-02-26 17:53:55 +01:00