mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-05 07:41:01 +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:
parent
89bfde29dc
commit
29d78bba4b
Notes:
sideshowbarker
2024-07-18 09:15:04 +09:00
Author: https://github.com/AtkinsSJ
Commit: 29d78bba4b
Pull-request: https://github.com/SerenityOS/serenity/pull/8341
3 changed files with 55 additions and 16 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue