Commit af89649a authored by kipp%netscape.com's avatar kipp%netscape.com
Browse files

Improved the table warning diagnostic

parent aec75f89
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -343,7 +343,9 @@ NS_METHOD nsTableCellFrame::Reflow(nsIPresContext& aPresContext,
#ifdef NS_DEBUG
  if (kidSize.width > availSize.width)
  {
    printf("WARNING: cell content returned desired width %d given avail width %d\n",
    printf("WARNING: cell ");
    mFirstChild->ListTag(stdout);
    printf(" content returned desired width %d given avail width %d\n",
            kidSize.width, availSize.width);
  }
#endif
+3 −1
Original line number Diff line number Diff line
@@ -343,7 +343,9 @@ NS_METHOD nsTableCellFrame::Reflow(nsIPresContext& aPresContext,
#ifdef NS_DEBUG
  if (kidSize.width > availSize.width)
  {
    printf("WARNING: cell content returned desired width %d given avail width %d\n",
    printf("WARNING: cell ");
    mFirstChild->ListTag(stdout);
    printf(" content returned desired width %d given avail width %d\n",
            kidSize.width, availSize.width);
  }
#endif