1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 08:58:11 +00:00

LibWeb: Use StyleComponentValueRules for StyleBlockRule's values

Noticed while doing this that attribute selectors have two different
ways of saying "starts with", and so AttributeMatchType::StartsWith
needs a better name. But I'll change that when I add the missing
types.

These class names are a mouthful to fit in a commit message. :^)
This commit is contained in:
Sam Atkins 2021-07-01 14:54:27 +01:00 committed by Andreas Kling
parent 89bfde29dc
commit 29d78bba4b
3 changed files with 55 additions and 16 deletions

View file

@ -119,7 +119,7 @@ String StyleBlockRule::to_string() const
StringBuilder builder;
builder.append(m_token.bracket_string());
append_raw(builder, ", ", m_values);
append_with_to_string(builder, ", ", m_values);
builder.append(m_token.bracket_mirror_string());
return builder.to_string();