diff options
author | Sebastian Geerken <devnull@localhost> | 2013-09-23 14:55:21 +0200 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2013-09-23 14:55:21 +0200 |
commit | 37507ce8b1188c040afca07390504cd162f5111f (patch) | |
tree | 032412baf56c832d6f5ad2d4651e73887b702718 /src/cssparser.cc | |
parent | b033268e6b7c83d3b1ffcb4f8e79769dc8d9c39c (diff) |
CSS attribute 'background-repeat'.
Diffstat (limited to 'src/cssparser.cc')
-rw-r--r-- | src/cssparser.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/cssparser.cc b/src/cssparser.cc index 5383ab1a..19eb95a5 100644 --- a/src/cssparser.cc +++ b/src/cssparser.cc @@ -47,6 +47,10 @@ typedef struct { const char *const *enum_symbols; } CssPropertyInfo; +static const char *const Css_background_repeat_enum_vals[] = { + "repeat", "repeat-x", "repeat-y", "no-repeat", NULL +}; + static const char *const Css_border_collapse_enum_vals[] = { "separate", "collapse", NULL }; @@ -143,7 +147,8 @@ const CssPropertyInfo Css_property_info[CSS_PROPERTY_LAST] = { {"background-color", {CSS_TYPE_COLOR, CSS_TYPE_UNUSED}, NULL}, {"background-image", {CSS_TYPE_URI, CSS_TYPE_UNUSED}, NULL}, {"background-position", {CSS_TYPE_UNUSED}, NULL}, - {"background-repeat", {CSS_TYPE_UNUSED}, NULL}, + {"background-repeat", {CSS_TYPE_ENUM, CSS_TYPE_UNUSED}, + Css_background_repeat_enum_vals}, {"border-bottom-color", {CSS_TYPE_ENUM, CSS_TYPE_COLOR, CSS_TYPE_UNUSED}, Css_border_color_enum_vals}, {"border-bottom-style", {CSS_TYPE_ENUM, CSS_TYPE_UNUSED}, |