ROAST_CSS_STR_DEF(italic)
ROAST_CSS_STR_DEF(oblique)
ROAST_CSS_STR_DEF(inherit)
- ROAST_CSS_STR_DEF(bold) // to use font_weight
+ ROAST_CSS_STR_DEF(bold) // emurate to font_weight:bold
};
typedef font_style_<_true_analyze> font_style;
// font_style <specify bold>
template <>
struct font_style_<font_style::bold> : font_weight_<font_weight::bold> {};
+
+ // font_variant
+ template <typename _Value>
+ struct font_variant_ : declaration_<_attrname_str::font_variant, _Value>
+ {
+ ROAST_CSS_STR_DEF(normal)
+ ROAST_LEXICAL_FIXSTR(small_caps, "small-caps")
+ ROAST_CSS_STR_DEF(inherit)
+ };
+ typedef font_variant_<_true_analyze> font_variant;
}
}
}