mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 12:49:19 +00:00
LibWeb: Initialize BoxShadowData lengths to 0px instead of undefined
This commit is contained in:
parent
1093d6e2c3
commit
2df8d9c609
Notes:
sideshowbarker
2024-07-17 18:34:46 +09:00
Author: https://github.com/AtkinsSJ
Commit: 2df8d9c609
Pull-request: https://github.com/SerenityOS/serenity/pull/12628
1 changed files with 4 additions and 4 deletions
|
@ -77,10 +77,10 @@ struct FlexBasisData {
|
|||
|
||||
struct BoxShadowData {
|
||||
Color color {};
|
||||
CSS::Length offset_x {};
|
||||
CSS::Length offset_y {};
|
||||
CSS::Length blur_radius {};
|
||||
CSS::Length spread_distance {};
|
||||
CSS::Length offset_x { Length::make_px(0) };
|
||||
CSS::Length offset_y { Length::make_px(0) };
|
||||
CSS::Length blur_radius { Length::make_px(0) };
|
||||
CSS::Length spread_distance { Length::make_px(0) };
|
||||
CSS::BoxShadowPlacement placement { CSS::BoxShadowPlacement::Outer };
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue