mirror of
https://github.com/RGBCube/serenity
synced 2025-07-10 09:17:34 +00:00
![]() Previous multi-value properties use a ValueListStyleValue, which then gets parsed into its sub-properties in the StyleResolver. However, that is not ideal, especially as it exposes StyleResolver to the inner workings of the Parser and Tokenizer, which it should not need to know about. The way `box-shadow` was implemented as a StyleValue subclass means that the parsing can happen inside the Parser instead, which seems like a better solution. Converting the other complicated cases (background, font, list-style) is on my todo list for later. |
||
---|---|---|
.. | ||
DeclarationOrAtRule.h | ||
DeprecatedCSSParser.cpp | ||
DeprecatedCSSParser.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 |