mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 00:25:12 +00:00
LibWeb: Remove ValueListStyleValue :^)
This was the whole point of this PR. No more dealing with ComponentValues in StyleResolver!
This commit is contained in:
committed by
Andreas Kling
parent
678760bd87
commit
afc434c416
@@ -172,23 +172,4 @@ void ImageStyleValue::resource_did_load()
|
||||
m_document->browsing_context()->set_needs_display({});
|
||||
}
|
||||
|
||||
ValueListStyleValue::ValueListStyleValue(Vector<StyleComponentValueRule>&& values)
|
||||
: StyleValue(Type::ComponentValueList)
|
||||
, m_values(move(values))
|
||||
{
|
||||
}
|
||||
|
||||
String ValueListStyleValue::to_string() const
|
||||
{
|
||||
StringBuilder builder;
|
||||
builder.appendff("List[{}](", m_values.size());
|
||||
for (auto& value : m_values) {
|
||||
builder.append(value.to_debug_string());
|
||||
builder.append(",");
|
||||
}
|
||||
|
||||
builder.append(")");
|
||||
return builder.to_string();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user