((aDisplay == NS_STYLE_DISPLAY_TABLE_CAPTION)      || (aDisplay == NS_STYLE_DISPLAY_TABLE_COLUMN_GROUP) || (aDisplay == NS_STYLE_DISPLAY_TABLE_COLUMN)       || (aDisplay == NS_STYLE_DISPLAY_TABLE_CELL))) {
((nsLayoutAtoms::tableCaptionFrame  == aParentType)  || (nsLayoutAtoms::tableColGroupFrame == aParentType)  || (nsLayoutAtoms::tableColFrame      == aParentType)  || (nsLayoutAtoms::tableCellFrame     == aParentType))) {
IsTableRelated(PRUint8 aDisplay,               PRBool  aIncludeSpecial) {  if ((aDisplay == NS_STYLE_DISPLAY_TABLE)              ||      (aDisplay == NS_STYLE_DISPLAY_TABLE_HEADER_GROUP) ||      (aDisplay == NS_STYLE_DISPLAY_TABLE_ROW_GROUP)    ||      (aDisplay == NS_STYLE_DISPLAY_TABLE_FOOTER_GROUP) ||      (aDisplay == NS_STYLE_DISPLAY_TABLE_ROW)) {    return PR_TRUE;  }  else if (aIncludeSpecial &&            ((aDisplay == NS_STYLE_DISPLAY_TABLE_CAPTION)      ||            (aDisplay == NS_STYLE_DISPLAY_TABLE_COLUMN_GROUP) ||            (aDisplay == NS_STYLE_DISPLAY_TABLE_COLUMN)       ||            (aDisplay == NS_STYLE_DISPLAY_TABLE_CELL))) {    return PR_TRUE;  }  else return PR_FALSE;}