mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 10:37:45 +00:00
LibWeb: Replace BackgroundStyleValue with ShorthandStyleValue
The `to_string()` for this is modified a little from the original, because we have to calculate what the layer-count is then, instead of having it already calculated.
This commit is contained in:
parent
1ae515c0b7
commit
34e0899ab0
11 changed files with 57 additions and 194 deletions
|
@ -84,7 +84,6 @@ using StyleValueVector = Vector<ValueComparingNonnullRefPtr<StyleValue const>>;
|
|||
|
||||
#define ENUMERATE_STYLE_VALUE_TYPES \
|
||||
__ENUMERATE_STYLE_VALUE_TYPE(Angle, angle) \
|
||||
__ENUMERATE_STYLE_VALUE_TYPE(Background, background) \
|
||||
__ENUMERATE_STYLE_VALUE_TYPE(BackgroundRepeat, background_repeat) \
|
||||
__ENUMERATE_STYLE_VALUE_TYPE(BackgroundSize, background_size) \
|
||||
__ENUMERATE_STYLE_VALUE_TYPE(Border, border) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue