diff options
-rw-r--r-- | dw/style.hh | 4 | ||||
-rw-r--r-- | src/cssparser.cc | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/dw/style.hh b/dw/style.hh index 55d6fc9f..231f879a 100644 --- a/dw/style.hh +++ b/dw/style.hh @@ -237,7 +237,9 @@ enum VAlignType { VALIGN_MIDDLE, VALIGN_BASELINE, VALIGN_SUB, - VALIGN_SUPER + VALIGN_SUPER, + VALIGN_TEXT_TOP, + VALIGN_TEXT_BOTTOM, }; /** diff --git a/src/cssparser.cc b/src/cssparser.cc index 387066d6..85ae0610 100644 --- a/src/cssparser.cc +++ b/src/cssparser.cc @@ -106,7 +106,8 @@ static const char *const Css_text_decoration_enum_vals[] = { }; static const char *const Css_vertical_align_vals[] = { - "top", "bottom", "middle", "baseline", "sub", "super", NULL + "top", "bottom", "middle", "baseline", "sub", "super", "text-top", + "text-bottom", NULL }; static const char *const Css_white_space_vals[] = { |