2023-04-02 18:56:45 -03:00
|
|
|
/*
|
|
|
|
|
* Copyright (c) 2023, MacDue <macdue@dueutil.tech>
|
|
|
|
|
*
|
|
|
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#include "EdgeStyleValue.h"
|
|
|
|
|
|
|
|
|
|
namespace Web::CSS {
|
|
|
|
|
|
2024-12-06 20:59:49 -03:00
|
|
|
String EdgeStyleValue::to_string(SerializationMode) const
|
2023-04-02 18:56:45 -03:00
|
|
|
{
|
2023-11-06 09:06:20 -03:00
|
|
|
return MUST(String::formatted("{} {}", CSS::to_string(m_properties.edge), m_properties.offset.to_string()));
|
2023-04-02 18:56:45 -03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|