if (display->mBreakAfter && (NS_STYLE_DISPLAY_TABLE_HEADER_GROUP != display->mDisplay)) { return PR_TRUE;
if (display->mBreakAfter && !IsRepeatedFrame(&aSourceFrame)) { return !(aNextFrame && IsRepeatedFrame(aNextFrame));
nsTableFrame::PageBreakAfter(nsIFrame& aSourceFrame,                             nsIFrame* aNextFrame){  const nsStyleDisplay* display = aSourceFrame.GetStyleDisplay();  // don't allow a page break after a repeated header  if (display->mBreakAfter && (NS_STYLE_DISPLAY_TABLE_HEADER_GROUP != display->mDisplay)) {    return PR_TRUE;  }  if (aNextFrame) {    display = aNextFrame->GetStyleDisplay();    // don't allow a page break before a repeated footer    if (display->mBreakBefore && (NS_STYLE_DISPLAY_TABLE_FOOTER_GROUP != display->mDisplay)) {      return PR_TRUE;    }  }  return PR_FALSE;}