mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:17:44 +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:
parent
678760bd87
commit
afc434c416
4 changed files with 2 additions and 42 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue