From cb4bb53c2cfeb363749b6100be54ed8c13cce33e Mon Sep 17 00:00:00 2001 From: "kipp%netscape.com" Date: Tue, 27 Apr 1999 22:07:02 +0000 Subject: [PATCH] Added an (as yet unused) predicate --- layout/base/public/nsIStyleContext.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/layout/base/public/nsIStyleContext.h b/layout/base/public/nsIStyleContext.h index fc4509c7f880..4f9be91ed26e 100644 --- a/layout/base/public/nsIStyleContext.h +++ b/layout/base/public/nsIStyleContext.h @@ -167,6 +167,10 @@ struct nsStyleText : public nsStyleStruct { nsStyleCoord mWordSpacing; // [inherited] nsStyleCoord mVerticalAlign; // [reset] see nsStyleConsts.h for enums + PRBool WhiteSpaceIsSignificant() { + return mWhiteSpace == NS_STYLE_WHITESPACE_PRE; + } + protected: nsStyleText(void); };