From 83d870a6d99f06c76cd44b97d84864836a84d9a3 Mon Sep 17 00:00:00 2001 From: Kalle Olavi Niemitalo Date: Sun, 15 Jul 2007 15:45:28 +0300 Subject: [PATCH] CSS: Move /* #define DEBUG_CSS */ to stylesheet.h. That's where src/document/css/README says it should be. --- src/document/css/apply.c | 2 -- src/document/css/parser.c | 2 -- src/document/css/stylesheet.h | 2 ++ 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/document/css/apply.c b/src/document/css/apply.c index f39e84a07..c32d770d1 100644 --- a/src/document/css/apply.c +++ b/src/document/css/apply.c @@ -27,8 +27,6 @@ /* XXX: Some strange dependency makes it necessary to this include last. */ #include "document/html/internal.h" -/* #define DEBUG_CSS */ - /* TODO: A way to disable CSS completely, PLUS a way to stop various property * groups from taking effect. (Ie. way to turn out effect of 'display: none' diff --git a/src/document/css/parser.c b/src/document/css/parser.c index 23da6dd51..c67e0aec3 100644 --- a/src/document/css/parser.c +++ b/src/document/css/parser.c @@ -21,8 +21,6 @@ #include "util/memory.h" #include "util/string.h" -/* #define DEBUG_CSS */ - void css_parse_properties(struct list_head *props, struct scanner *scanner) diff --git a/src/document/css/stylesheet.h b/src/document/css/stylesheet.h index 37562599a..d6cf006a2 100644 --- a/src/document/css/stylesheet.h +++ b/src/document/css/stylesheet.h @@ -4,6 +4,8 @@ #include "util/lists.h" +/* #define DEBUG_CSS */ + /* TODO: We need a memory efficient and fast way to define how properties * cascade. What we are interested in is making it fast and easy to find * all properties we need.