mirror of
https://github.com/RGBCube/serenity
synced 2026-01-12 23:50:59 +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. |
||
|---|---|---|
| .. | ||
| DeclarationOrAtRule.h | ||
| Parser.cpp | ||
| Parser.h | ||
| StyleBlockRule.h | ||
| StyleComponentValueRule.h | ||
| StyleDeclarationRule.h | ||
| StyleFunctionRule.h | ||
| StyleRule.h | ||
| StyleRules.cpp | ||
| Token.cpp | ||
| Token.h | ||
| Tokenizer.cpp | ||
| Tokenizer.h | ||