From 2f4c8b74ebe3ccf0569eda982bbd2afc5473687b Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Fri, 6 Feb 2009 19:00:51 +0100 Subject: add type to CSS properties --- src/cssparser.hh | 26 -------------------------- 1 file changed, 26 deletions(-) (limited to 'src/cssparser.hh') diff --git a/src/cssparser.hh b/src/cssparser.hh index ccc0029e..2b083df5 100644 --- a/src/cssparser.hh +++ b/src/cssparser.hh @@ -9,32 +9,6 @@ (CSS_PROPERTY_LAST - CSS_NUM_INTERNAL_PROPERTIES) -typedef enum { - CSS_TYPE_INTEGER, /* This type is only used internally, for x-* - properties. */ - CSS_TYPE_ENUM, /* Value is i, if represented by - enum_symbols[i]. */ - CSS_TYPE_MULTI_ENUM, /* For all enum_symbols[i], 1 << i are - combined. */ - CSS_TYPE_LENGTH_PERCENTAGE, /* or . Represented by - CssLength. */ - CSS_TYPE_LENGTH, /* , represented as CssLength. - Note: In some cases, CSS_TYPE_LENGTH is used - instead of CSS_TYPE_LENGTH_PERCENTAGE, - only because Dw cannot handle percentages - in this particular case (e.g. - 'margin-*-width'). */ - CSS_TYPE_COLOR, /* Represented as integer. */ - CSS_TYPE_FONT_WEIGHT, /* this very special and only used by - 'font-weight' */ - CSS_TYPE_STRING, /* */ - CSS_TYPE_SYMBOL, /* Symbols, which are directly copied (as - opposed to CSS_TYPE_ENUM and - CSS_TYPE_MULTI_ENUM). Used for - 'font-family'. */ - CSS_TYPE_UNUSED /* Not yet used. Will itself get unused some - day. */ -} CssValueType; typedef enum { CSS_ORIGIN_USER_AGENT, -- cgit v1.2.3