diff options
author | Sebastian Geerken <devnull@localhost> | 2013-09-25 11:57:00 +0200 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2013-09-25 11:57:00 +0200 |
commit | 9bdbab27811d631db9c321380dea0842ec0af392 (patch) | |
tree | 52b0e39dbe51c0ebfd14209479959f2d99249cd6 /src/cssparser.cc | |
parent | 37507ce8b1188c040afca07390504cd162f5111f (diff) |
CSS attribute 'background-attachment' (not implemented in dw::core::style).
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 19eb95a5..a67e98d3 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_attachment_enum_vals[] = { + "scroll", "fixed", NULL +}; + static const char *const Css_background_repeat_enum_vals[] = { "repeat", "repeat-x", "repeat-y", "no-repeat", NULL }; @@ -143,7 +147,8 @@ static const char *const Css_word_spacing_enum_vals[] = { }; const CssPropertyInfo Css_property_info[CSS_PROPERTY_LAST] = { - {"background-attachment", {CSS_TYPE_UNUSED}, NULL}, + {"background-attachment", {CSS_TYPE_ENUM, CSS_TYPE_UNUSED}, + Css_background_attachment_enum_vals}, {"background-color", {CSS_TYPE_COLOR, CSS_TYPE_UNUSED}, NULL}, {"background-image", {CSS_TYPE_URI, CSS_TYPE_UNUSED}, NULL}, {"background-position", {CSS_TYPE_UNUSED}, NULL}, |