aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-12-08 22:35:56 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-12-08 22:35:56 +0100
commit93b210434c8511f6fa58bb23f1188c65810870b8 (patch)
tree16d5e96e27d1e671b1a50baef0c66a7ed4967931
parent8c95d423cee2fc3a1666f938c8b7bbcbd0355cbc (diff)
add DISPLAY_NONE
-rw-r--r--config.h.in3
-rw-r--r--dw/style.hh1
-rw-r--r--src/cssparser.cc2
3 files changed, 2 insertions, 4 deletions
diff --git a/config.h.in b/config.h.in
index 58c33e0a..54501855 100644
--- a/config.h.in
+++ b/config.h.in
@@ -81,9 +81,6 @@
/* Define to the home page for this package. */
#undef PACKAGE_URL
-/* Define to the home page for this package. */
-#undef PACKAGE_URL
-
/* Define to the version of this package. */
#undef PACKAGE_VERSION
diff --git a/dw/style.hh b/dw/style.hh
index 33be512d..73549553 100644
--- a/dw/style.hh
+++ b/dw/style.hh
@@ -247,6 +247,7 @@ enum DisplayType {
DISPLAY_BLOCK,
DISPLAY_INLINE,
DISPLAY_LIST_ITEM,
+ DISPLAY_NONE,
DISPLAY_TABLE,
DISPLAY_TABLE_ROW_GROUP,
DISPLAY_TABLE_HEADER_GROUP,
diff --git a/src/cssparser.cc b/src/cssparser.cc
index d0daf566..4eb20b74 100644
--- a/src/cssparser.cc
+++ b/src/cssparser.cc
@@ -59,7 +59,7 @@ static const char *const Css_cursor_enum_vals[] = {
};
static const char *const Css_display_enum_vals[DISPLAY_LAST + 1] = {
- "block", "inline", "list-item", "table", "table-row-group",
+ "block", "inline", "list-item", "none", "table", "table-row-group",
"table-header-group", "table-footer-group", "table-row",
"table-cell", NULL
};