mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 08:36:15 +00:00
LibWeb: Properly serialize position/edge style values
This commit is contained in:
@@ -25,8 +25,8 @@ public:
|
||||
static ValueComparingNonnullRefPtr<PositionStyleValue> create_center()
|
||||
{
|
||||
return adopt_ref(*new (nothrow) PositionStyleValue(
|
||||
EdgeStyleValue::create(PositionEdge::Left, Percentage { 50 }),
|
||||
EdgeStyleValue::create(PositionEdge::Top, Percentage { 50 })));
|
||||
EdgeStyleValue::create(PositionEdge::Center, {}),
|
||||
EdgeStyleValue::create(PositionEdge::Center, {})));
|
||||
}
|
||||
virtual ~PositionStyleValue() override = default;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user