mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 08:12:05 +00:00
Improved the table warning diagnostic
This commit is contained in:
parent
aec75f892e
commit
af89649a87
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user