mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 18:08:58 +00:00
Added an (as yet unused) predicate
This commit is contained in:
parent
c75e0cdb44
commit
cb4bb53c2c
@ -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);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user