diff options
Diffstat (limited to 'src/cssparser.cc')
-rw-r--r-- | src/cssparser.cc | 6 |
1 files changed, 6 insertions, 0 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 |