aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cssparser.cc6
-rw-r--r--src/cssparser.hh7
2 files changed, 6 insertions, 7 deletions
diff --git a/src/cssparser.cc b/src/cssparser.cc
index 87d58dbd..445c9f79 100644
--- a/src/cssparser.cc
+++ b/src/cssparser.cc
@@ -39,6 +39,12 @@ using namespace dw::core::style;
/* Applies to symbol lengths and string literals. */
#define MAX_STR_LEN 256
+/* The last three ones are never parsed. */
+#define CSS_NUM_INTERNAL_PROPERTIES 3
+#define CSS_NUM_PARSED_PROPERTIES \
+ (CSS_PROPERTY_LAST - CSS_NUM_INTERNAL_PROPERTIES)
+
+
static const char *const Css_border_style_enum_vals[] = {
"none", "hidden", "dotted", "dashed", "solid", "double", "groove",
"ridge", "inset", "outset", NULL
diff --git a/src/cssparser.hh b/src/cssparser.hh
index 7fd3b5d0..2ae5f7dd 100644
--- a/src/cssparser.hh
+++ b/src/cssparser.hh
@@ -3,13 +3,6 @@
#include "css.hh"
-/* The last three ones are never parsed. */
-#define CSS_NUM_INTERNAL_PROPERTIES 3
-#define CSS_NUM_PARSED_PROPERTIES \
- (CSS_PROPERTY_LAST - CSS_NUM_INTERNAL_PROPERTIES)
-
-
-
typedef enum {
CSS_ORIGIN_USER_AGENT,
CSS_ORIGIN_USER,