1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:28:12 +00:00

LibWeb: Initialize BoxShadowData lengths to 0px instead of undefined

This commit is contained in:
Sam Atkins 2022-02-18 14:47:15 +00:00 committed by Andreas Kling
parent 1093d6e2c3
commit 2df8d9c609

View file

@ -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 };
};