1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 09:07:44 +00:00

LibWeb: Add place-self css property support

This commit is contained in:
Aliaksandr Kalenik 2023-08-04 14:04:05 +02:00 committed by Andreas Kling
parent f24aab662f
commit da2cd73bcf
12 changed files with 190 additions and 0 deletions

View file

@ -0,0 +1,16 @@
/*
* Copyright (c) 2023, Aliaksandr Kalenik <kalenik.aliaksandr@gmail.com>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include "PlaceSelfStyleValue.h"
namespace Web::CSS {
ErrorOr<String> PlaceSelfStyleValue::to_string() const
{
return String::formatted("{} {}", TRY(m_properties.align_self->to_string()), TRY(m_properties.justify_self->to_string()));
}
}