Added an (as yet unused) predicate

This commit is contained in:
kipp%netscape.com 1999-04-27 22:07:02 +00:00
parent c75e0cdb44
commit cb4bb53c2c

View File

@ -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);
};