summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Staudinger <robsta@gnome.org>2009-06-19 17:36:23 +0200
committerRobert Staudinger <robsta@gnome.org>2009-06-19 17:36:23 +0200
commit05617fca47691fa18b36812bb65a79cb02b7c7e9 (patch)
tree665b12df6f8051f95a32394407df4f0e69b17732
parentecc970ef96f1f73c90984385206411194edbacb7 (diff)
[stylesheet] Dump selector specificity annotation in debug mode.
-rw-r--r--ccss/ccss-selector.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ccss/ccss-selector.c b/ccss/ccss-selector.c
index 1716a10..6f9c65f 100644
--- a/ccss/ccss-selector.c
+++ b/ccss/ccss-selector.c
@@ -1122,6 +1122,9 @@ ccss_selector_dump (ccss_selector_t const *self)
selector = g_string_new (NULL);
ccss_selector_serialize_selector (self, selector);
+ g_string_append (selector, " /* ");
+ ccss_selector_serialize_specificity (self, selector);
+ g_string_append (selector, " */\n");
puts (selector->str);
g_string_free (selector, TRUE), selector = NULL;