mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-05 06:32:26 +02:00
LibWeb: Add an enum for !important
This commit is contained in:
@@ -171,7 +171,7 @@ String StyleDeclarationRule::to_string() const
|
||||
builder.append(": ");
|
||||
append_with_to_string(builder, " ", m_values);
|
||||
|
||||
if (m_important)
|
||||
if (m_important == Important::Yes)
|
||||
builder.append(" !important");
|
||||
|
||||
return builder.to_string();
|
||||
|
||||
Reference in New Issue
Block a user