From f017ffd25a3a04d122608b39bc7678f572f38fcb Mon Sep 17 00:00:00 2001 From: "kipp%netscape.com" Date: Thu, 25 Mar 1999 03:51:16 +0000 Subject: [PATCH] Added some MOZ constants --- layout/base/nsStyleConsts.h | 8 ++++++-- layout/base/public/nsStyleConsts.h | 8 ++++++-- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/layout/base/nsStyleConsts.h b/layout/base/nsStyleConsts.h index b5dc9b4bb17..10cda0884d0 100644 --- a/layout/base/nsStyleConsts.h +++ b/layout/base/nsStyleConsts.h @@ -337,12 +337,17 @@ #define NS_STYLE_MARGIN_SIZE_AUTO 0 // See nsStyleText +// +// Note: make sure the numbers are less than the numbers that start +// the vertical_align values below! #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 #define NS_STYLE_TEXT_ALIGN_CHAR 5 //align based on a certain character, for table cell +#define NS_STYLE_TEXT_ALIGN_MOZ_CENTER 6 +#define NS_STYLE_TEXT_ALIGN_MOZ_RIGHT 7 // See nsStyleText, nsStyleFont #define NS_STYLE_TEXT_DECORATION_NONE 0 @@ -369,8 +374,6 @@ #define NS_STYLE_VERTICAL_ALIGN_MIDDLE 15 #define NS_STYLE_VERTICAL_ALIGN_TEXT_BOTTOM 16 #define NS_STYLE_VERTICAL_ALIGN_BOTTOM 17 -//#define NS_STYLE_VERTICAL_ALIGN_LENGTH 18 -//#define NS_STYLE_VERTICAL_ALIGN_PERCENT 19 // See nsStyleDisplay #define NS_STYLE_VISIBILITY_HIDDEN 0 @@ -381,6 +384,7 @@ #define NS_STYLE_WHITESPACE_NORMAL 0 #define NS_STYLE_WHITESPACE_PRE 1 #define NS_STYLE_WHITESPACE_NOWRAP 2 +#define NS_STYLE_WHITESPACE_MOZ_PRE_WRAP 3 // See nsStyleText #define NS_STYLE_UNICODE_BIDI_NORMAL 0 diff --git a/layout/base/public/nsStyleConsts.h b/layout/base/public/nsStyleConsts.h index b5dc9b4bb17..10cda0884d0 100644 --- a/layout/base/public/nsStyleConsts.h +++ b/layout/base/public/nsStyleConsts.h @@ -337,12 +337,17 @@ #define NS_STYLE_MARGIN_SIZE_AUTO 0 // See nsStyleText +// +// Note: make sure the numbers are less than the numbers that start +// the vertical_align values below! #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 #define NS_STYLE_TEXT_ALIGN_CHAR 5 //align based on a certain character, for table cell +#define NS_STYLE_TEXT_ALIGN_MOZ_CENTER 6 +#define NS_STYLE_TEXT_ALIGN_MOZ_RIGHT 7 // See nsStyleText, nsStyleFont #define NS_STYLE_TEXT_DECORATION_NONE 0 @@ -369,8 +374,6 @@ #define NS_STYLE_VERTICAL_ALIGN_MIDDLE 15 #define NS_STYLE_VERTICAL_ALIGN_TEXT_BOTTOM 16 #define NS_STYLE_VERTICAL_ALIGN_BOTTOM 17 -//#define NS_STYLE_VERTICAL_ALIGN_LENGTH 18 -//#define NS_STYLE_VERTICAL_ALIGN_PERCENT 19 // See nsStyleDisplay #define NS_STYLE_VISIBILITY_HIDDEN 0 @@ -381,6 +384,7 @@ #define NS_STYLE_WHITESPACE_NORMAL 0 #define NS_STYLE_WHITESPACE_PRE 1 #define NS_STYLE_WHITESPACE_NOWRAP 2 +#define NS_STYLE_WHITESPACE_MOZ_PRE_WRAP 3 // See nsStyleText #define NS_STYLE_UNICODE_BIDI_NORMAL 0