diff options
-rw-r--r-- | Userland/Libraries/LibWeb/Dump.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/Dump.cpp b/Userland/Libraries/LibWeb/Dump.cpp index 45f5bc3e9b..8f65c04b81 100644 --- a/Userland/Libraries/LibWeb/Dump.cpp +++ b/Userland/Libraries/LibWeb/Dump.cpp @@ -505,7 +505,10 @@ void dump_style_rule(StringBuilder& builder, CSS::CSSStyleRule const& rule) } builder.append(" Declarations:\n"); for (auto& property : verify_cast<CSS::PropertyOwningCSSStyleDeclaration>(rule.declaration()).properties()) { - builder.appendff(" {}: '{}'\n", CSS::string_from_property_id(property.property_id), property.value->to_string()); + builder.appendff(" {}: '{}'", CSS::string_from_property_id(property.property_id), property.value->to_string()); + if (property.important) + builder.append(" \033[31;1m!important\033[0m"); + builder.append('\n'); } } |