mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 15:38:10 +00:00
LibWeb: Add an enum for !important
This commit is contained in:
parent
c08a52dd97
commit
a99d02e14d
8 changed files with 21 additions and 15 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue