From 561790394f6bb75eba9f567a27f71113f268a5eb Mon Sep 17 00:00:00 2001 From: kipp Date: Thu, 28 May 1998 02:00:59 +0000 Subject: [PATCH] Added text_align_default for better direction handling --- layout/base/src/nsStyleConsts.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/layout/base/src/nsStyleConsts.h b/layout/base/src/nsStyleConsts.h index 2951ae0a86e..1c0404074fe 100644 --- a/layout/base/src/nsStyleConsts.h +++ b/layout/base/src/nsStyleConsts.h @@ -170,10 +170,11 @@ #define NS_STYLE_SPACING_NORMAL 0 // See nsStyleText -#define NS_STYLE_TEXT_ALIGN_LEFT 0 -#define NS_STYLE_TEXT_ALIGN_RIGHT 1 -#define NS_STYLE_TEXT_ALIGN_CENTER 2 -#define NS_STYLE_TEXT_ALIGN_JUSTIFY 3 +#define NS_STYLE_TEXT_ALIGN_DEFAULT 0 +#define NS_STYLE_TEXT_ALIGN_LEFT 1 +#define NS_STYLE_TEXT_ALIGN_RIGHT 2 +#define NS_STYLE_TEXT_ALIGN_CENTER 3 +#define NS_STYLE_TEXT_ALIGN_JUSTIFY 4 // See nsStyleText, nsStyleFont #define NS_STYLE_TEXT_DECORATION_NONE 0