1 /* CSS property info */
11 #include "document/css/property.h"
12 #include "document/css/value.h"
15 /* TODO: Use fastfind when we get a lot of properties. */
16 /* XXX: But only _WHEN_ we get _A LOT_ of properties, zas! ;-) --pasky */
17 struct css_property_info css_property_info
[CSS_PT_LAST
] = {
18 { "background", CSS_PT_BACKGROUND
, CSS_VT_COLOR
, css_parse_background_value
},
19 { "background-color", CSS_PT_BACKGROUND_COLOR
, CSS_VT_COLOR
, css_parse_color_value
},
20 { "color", CSS_PT_COLOR
, CSS_VT_COLOR
, css_parse_color_value
},
21 { "display", CSS_PT_DISPLAY
, CSS_VT_DISPLAY
, css_parse_display_value
},
22 { "font-style", CSS_PT_FONT_STYLE
, CSS_VT_FONT_ATTRIBUTE
, css_parse_font_style_value
},
23 { "font-weight", CSS_PT_FONT_WEIGHT
, CSS_VT_FONT_ATTRIBUTE
, css_parse_font_weight_value
},
24 { "text-align", CSS_PT_TEXT_ALIGN
, CSS_VT_TEXT_ALIGN
, css_parse_text_align_value
},
25 { "text-decoration", CSS_PT_TEXT_DECORATION
, CSS_VT_FONT_ATTRIBUTE
, css_parse_text_decoration_value
},
26 { "white-space", CSS_PT_WHITE_SPACE
, CSS_VT_FONT_ATTRIBUTE
, css_parse_white_space_value
},
28 { NULL
, CSS_PT_NONE
, CSS_VT_NONE
},