mirror of
https://github.com/RGBCube/serenity
synced 2026-01-20 00:21:00 +00:00
Like the `background-foo` longhand properties (except `background-color`), `background` allows multiple layers to be defined, separated by commas. A layer does not necessarily contain something to actually draw! This parses as a `BackgroundStyleValue`, holding a `StyleValueList` for each property. This is mostly to make expansion into longhands simpler - if we had a list of `BackgroundStyleValue`s instead, one per layer, then we would have to break it up per-property anyway when computing styles. |
||
|---|---|---|
| .. | ||
| 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 | ||