diff options
author | corvid <corvid@lavabit.com> | 2010-04-20 16:04:24 +0000 |
---|---|---|
committer | corvid <corvid@lavabit.com> | 2010-04-20 16:04:24 +0000 |
commit | bda22922f7ed5934a2c1cd9740836df1a22cbc30 (patch) | |
tree | 7e7713dcbca5bfa1bead72abe9bd0388bcadbc4e /src/cssparser.cc | |
parent | 7a6266b40e3b340883d1f7fb22c0099a8253cc88 (diff) |
css word-spacing property
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 f73c257b..00ba7428 100644 --- a/src/cssparser.cc +++ b/src/cssparser.cc @@ -118,6 +118,10 @@ static const char *const Css_white_space_vals[] = { "normal", "pre", "nowrap", "pre-wrap", "pre-line", NULL }; +static const char *const Css_word_spacing_enum_vals[] = { + "normal", NULL +}; + const CssPropertyInfo Css_property_info[CSS_PROPERTY_LAST] = { {"background-attachment", {CSS_TYPE_UNUSED}, NULL}, {"background-color", {CSS_TYPE_COLOR, CSS_TYPE_UNUSED}, NULL}, @@ -213,7 +217,8 @@ const CssPropertyInfo Css_property_info[CSS_PROPERTY_LAST] = { {"visibility", {CSS_TYPE_UNUSED}, NULL}, {"white-space", {CSS_TYPE_ENUM, CSS_TYPE_UNUSED}, Css_white_space_vals}, {"width", {CSS_TYPE_LENGTH_PERCENTAGE, CSS_TYPE_UNUSED}, NULL}, - {"word-spacing", {CSS_TYPE_UNUSED}, NULL}, + {"word-spacing", {CSS_TYPE_ENUM, CSS_TYPE_SIGNED_LENGTH, CSS_TYPE_UNUSED}, + Css_word_spacing_enum_vals}, {"z-index", {CSS_TYPE_UNUSED}, NULL}, /* These are extensions, for internal used, and never parsed. */ |