mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:28:11 +00:00
LibWeb: Move StyleBlockRule code into StyleBlockRule.cpp
This commit is contained in:
parent
e0b2ebcc7b
commit
624df40e20
4 changed files with 33 additions and 19 deletions
|
@ -33,9 +33,6 @@ StyleRule::StyleRule(StyleRule::Type type)
|
|||
}
|
||||
StyleRule::~StyleRule() = default;
|
||||
|
||||
StyleBlockRule::StyleBlockRule() = default;
|
||||
StyleBlockRule::~StyleBlockRule() = default;
|
||||
|
||||
Declaration::Declaration() = default;
|
||||
Declaration::~Declaration() = default;
|
||||
|
||||
|
@ -87,17 +84,6 @@ String StyleRule::to_string() const
|
|||
return builder.to_string();
|
||||
}
|
||||
|
||||
String StyleBlockRule::to_string() const
|
||||
{
|
||||
StringBuilder builder;
|
||||
|
||||
builder.append(m_token.bracket_string());
|
||||
append_with_to_string(builder, " ", m_values);
|
||||
builder.append(m_token.bracket_mirror_string());
|
||||
|
||||
return builder.to_string();
|
||||
}
|
||||
|
||||
String Declaration::to_string() const
|
||||
{
|
||||
StringBuilder builder;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue