mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-16 23:39:44 +00:00
LibWeb: Add BasicShapeStyleValue
to represent CSS basic shapes
See: https://www.w3.org/TR/css-shapes-1/#basic-shape-functions This patch only implements the `polygon()` basic shape (with the rest left as FIXMEs).
This commit is contained in:
parent
71ccd8ad25
commit
5f17d9b34a
Notes:
sideshowbarker
2024-07-17 04:49:48 +09:00
Author: https://github.com/MacDue
Commit: 5f17d9b34a
Pull-request: https://github.com/SerenityOS/serenity/pull/24446
6 changed files with 126 additions and 0 deletions
|
@ -86,6 +86,7 @@ using StyleValueVector = Vector<ValueComparingNonnullRefPtr<StyleValue const>>;
|
|||
__ENUMERATE_STYLE_VALUE_TYPE(Angle, angle) \
|
||||
__ENUMERATE_STYLE_VALUE_TYPE(BackgroundRepeat, background_repeat) \
|
||||
__ENUMERATE_STYLE_VALUE_TYPE(BackgroundSize, background_size) \
|
||||
__ENUMERATE_STYLE_VALUE_TYPE(BasicShape, basic_shape) \
|
||||
__ENUMERATE_STYLE_VALUE_TYPE(BorderRadius, border_radius) \
|
||||
__ENUMERATE_STYLE_VALUE_TYPE(Calculated, calculated) \
|
||||
__ENUMERATE_STYLE_VALUE_TYPE(Color, color) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue