OSDN Git Service

web/css/attr_text.hpp: letter_spacing, word_spacing
authorMyun2 <myun2@nwhite.info>
Thu, 30 Dec 2010 07:24:29 +0000 (16:24 +0900)
committerMyun2 <myun2@nwhite.info>
Thu, 30 Dec 2010 07:24:29 +0000 (16:24 +0900)
roast/include/roast/web/css/attr_text.hpp

index 6ee06e0..c14b197 100644 (file)
@@ -418,13 +418,15 @@ namespace roast
                        };
                        typedef text_decoration_<_true_analyze> text_decoration;
                        
+               //      letter_spacing
+               template <typename _Value>
+                       struct letter_spacing_ : declaration_<_attrname_str::letter_spacing, _Value> {};
+                       
+               //      word_spacing
+               template <typename _Value>
+                       struct word_spacing_ : declaration_<_attrname_str::word_spacing, _Value> {};
+                       
                        /*
-                               ROAST_LEXICAL_FIXSTR(letter_spacing,            "letter-spacing")
-                               Value:          normal | <length> | inherit
-                               
-                               ROAST_LEXICAL_FIXSTR(word_spacing,                      "word-spacing")
-                               Value:          normal | <length> | inherit
-                                                               
                                ROAST_LEXICAL_FIXSTR(text_transform,            "text-transform")
                                Value:          capitalize | uppercase | lowercase | none | inherit