mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-31 13:48:25 +00:00
ID selectors need to be serialized as identifiers in the spec, but other hash-values do not. This was causing hex colors that start with a number, like `#54a3ff`, to serialize as `#\35 4a3ff`, which is silly and unnecessary. Selector serialization is done elsewhere, so this case in Token is probably also unnecessary, but there might be situations I haven't thought of where serializing an ID does need to happen while it's still a Token.
6.7 KiB
6.7 KiB