mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 06:37:43 +00:00
LibWeb: Implement TransformationStyleValue::to_string()
This commit is contained in:
parent
5826fe094f
commit
181d1e2dd6
1 changed files with 15 additions and 1 deletions
|
@ -582,7 +582,21 @@ String TextDecorationStyleValue::to_string() const
|
||||||
|
|
||||||
String TransformationStyleValue::to_string() const
|
String TransformationStyleValue::to_string() const
|
||||||
{
|
{
|
||||||
return "TransformationStyleValue";
|
StringBuilder builder;
|
||||||
|
|
||||||
|
switch (m_transform_function) {
|
||||||
|
case TransformFunction::TranslateY:
|
||||||
|
builder.append("translateY");
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
VERIFY_NOT_REACHED();
|
||||||
|
}
|
||||||
|
|
||||||
|
builder.append('(');
|
||||||
|
builder.join(", ", m_values);
|
||||||
|
builder.append(')');
|
||||||
|
|
||||||
|
return builder.to_string();
|
||||||
}
|
}
|
||||||
|
|
||||||
String UnresolvedStyleValue::to_string() const
|
String UnresolvedStyleValue::to_string() const
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue