diff options
Diffstat (limited to 'Userland/Libraries/LibWeb/CSS/Parser/StyleRules.cpp')
-rw-r--r-- | Userland/Libraries/LibWeb/CSS/Parser/StyleRules.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibWeb/CSS/Parser/StyleRules.cpp b/Userland/Libraries/LibWeb/CSS/Parser/StyleRules.cpp index 38f38ce539..8babc6dd93 100644 --- a/Userland/Libraries/LibWeb/CSS/Parser/StyleRules.cpp +++ b/Userland/Libraries/LibWeb/CSS/Parser/StyleRules.cpp @@ -98,9 +98,9 @@ String StyleRule::to_string() const { StringBuilder builder; - if (m_type == Type::At) { + if (is_at_rule()) { builder.append("@"); - serialize_an_identifier(builder, m_name); + serialize_an_identifier(builder, m_at_rule_name); } append_with_to_string(builder, " ", m_prelude); |