return (nsLayoutAtoms::tableFrame         == aParentType)  || (nsLayoutAtoms::tableCaptionFrame  == aParentType)  || (nsLayoutAtoms::tableRowGroupFrame == aParentType)  || (nsLayoutAtoms::tableColGroupFrame == aParentType)  || (nsLayoutAtoms::tableColFrame      == aParentType)  || (nsLayoutAtoms::tableRowFrame      == aParentType)  || (nsLayoutAtoms::tableCellFrame     == aParentType);
return (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)          || (aDisplay == NS_STYLE_DISPLAY_TABLE_COLUMN)       || (aDisplay == NS_STYLE_DISPLAY_TABLE_CELL);
IsTableRelated(nsIAtom* aParentType){  return (nsLayoutAtoms::tableFrame         == aParentType)  ||         (nsLayoutAtoms::tableCaptionFrame  == aParentType)  ||         (nsLayoutAtoms::tableRowGroupFrame == aParentType)  ||         (nsLayoutAtoms::tableColGroupFrame == aParentType)  ||         (nsLayoutAtoms::tableColFrame      == aParentType)  ||         (nsLayoutAtoms::tableRowFrame      == aParentType)  ||         (nsLayoutAtoms::tableCellFrame     == aParentType);}