From: Myun2 Date: Thu, 30 Dec 2010 07:28:43 +0000 (+0900) Subject: web/css/attr_text.hpp: white_space X-Git-Tag: 20111130_shapeup_prev^2~98 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=6380fa30785b82d1884806344f5e28861bee68ec;p=roast%2Froast.git web/css/attr_text.hpp: white_space --- diff --git a/roast/include/roast/web/css/attr_text.hpp b/roast/include/roast/web/css/attr_text.hpp index 5de0b143..0f16d4a2 100644 --- a/roast/include/roast/web/css/attr_text.hpp +++ b/roast/include/roast/web/css/attr_text.hpp @@ -438,13 +438,19 @@ namespace roast }; typedef text_transform_<_true_analyze> text_transform; - /* - ROAST_LEXICAL_FIXSTR(white_space, "white-space") - normal | pre | nowrap | pre-wrap | pre-line | inherit - */ - - - + // white_space + template + struct white_space_ : declaration_<_attrname_str::white_space, _Value> + { + ROAST_CSS_STR_DEF(normal) + ROAST_CSS_STR_DEF(pre) + ROAST_CSS_STR_DEF(nowrap) + ROAST_LEXICAL_FIXSTR(pre_wrap, "pre-wrap") + ROAST_LEXICAL_FIXSTR(pre_line, "pre-line") + ROAST_CSS_STR_DEF(inherit) + }; + typedef white_space_<_true_analyze> white_space; + /* ROAST_LEXICAL_FIXSTR(font_stretch, "font-stretch") normal | wider | narrower | ultra-condensed | extra-condensed | condensed | semi-condensed | semi-expanded | expanded | extra-expanded | ultra-expanded | inherit