mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-12 21:05:36 +00:00
Tweaked list logic
This commit is contained in:
parent
e1df6bb1f5
commit
6e01ea2f60
@ -55,10 +55,13 @@ ListFloaters(FILE* out, PRInt32 aIndent, const nsFloaterCacheList& aFloaters)
|
||||
frame->GetFrameName(frameName);
|
||||
fputs(frameName, out);
|
||||
}
|
||||
fprintf(out, " %s region={%d,%d,%d,%d}",
|
||||
fprintf(out, " %s region={%d,%d,%d,%d} combinedArea={%d,%d,%d,%d}",
|
||||
fc->mIsCurrentLineFloater ? "cl" : "bcl",
|
||||
fc->mRegion.x, fc->mRegion.y,
|
||||
fc->mRegion.width, fc->mRegion.height);
|
||||
fc->mRegion.width, fc->mRegion.height,
|
||||
fc->mCombinedArea.x, fc->mCombinedArea.y,
|
||||
fc->mCombinedArea.width, fc->mCombinedArea.height);
|
||||
|
||||
fprintf(out, "\n");
|
||||
}
|
||||
fc = fc->Next();
|
||||
@ -84,14 +87,12 @@ nsLineBox::List(FILE* out, PRInt32 aIndent) const
|
||||
char cbuf[100];
|
||||
fprintf(out, "line %p: count=%d state=%s ",
|
||||
this, ChildCount(), StateToString(cbuf, sizeof(cbuf)));
|
||||
#if XXX
|
||||
if (0 != mCarriedOutTopMargin) {
|
||||
fprintf(out, "tm=%d ", mCarriedOutTopMargin);
|
||||
}
|
||||
#endif
|
||||
if (0 != mCarriedOutBottomMargin) {
|
||||
fprintf(out, "bm=%d ", mCarriedOutBottomMargin);
|
||||
}
|
||||
if (0 != mMaxElementWidth) {
|
||||
fprintf(out, "mew=%d ", mMaxElementWidth);
|
||||
}
|
||||
fprintf(out, "{%d,%d,%d,%d} ca={%d,%d,%d,%d}",
|
||||
mBounds.x, mBounds.y, mBounds.width, mBounds.height,
|
||||
mCombinedArea.x, mCombinedArea.y,
|
||||
|
@ -55,10 +55,13 @@ ListFloaters(FILE* out, PRInt32 aIndent, const nsFloaterCacheList& aFloaters)
|
||||
frame->GetFrameName(frameName);
|
||||
fputs(frameName, out);
|
||||
}
|
||||
fprintf(out, " %s region={%d,%d,%d,%d}",
|
||||
fprintf(out, " %s region={%d,%d,%d,%d} combinedArea={%d,%d,%d,%d}",
|
||||
fc->mIsCurrentLineFloater ? "cl" : "bcl",
|
||||
fc->mRegion.x, fc->mRegion.y,
|
||||
fc->mRegion.width, fc->mRegion.height);
|
||||
fc->mRegion.width, fc->mRegion.height,
|
||||
fc->mCombinedArea.x, fc->mCombinedArea.y,
|
||||
fc->mCombinedArea.width, fc->mCombinedArea.height);
|
||||
|
||||
fprintf(out, "\n");
|
||||
}
|
||||
fc = fc->Next();
|
||||
@ -84,14 +87,12 @@ nsLineBox::List(FILE* out, PRInt32 aIndent) const
|
||||
char cbuf[100];
|
||||
fprintf(out, "line %p: count=%d state=%s ",
|
||||
this, ChildCount(), StateToString(cbuf, sizeof(cbuf)));
|
||||
#if XXX
|
||||
if (0 != mCarriedOutTopMargin) {
|
||||
fprintf(out, "tm=%d ", mCarriedOutTopMargin);
|
||||
}
|
||||
#endif
|
||||
if (0 != mCarriedOutBottomMargin) {
|
||||
fprintf(out, "bm=%d ", mCarriedOutBottomMargin);
|
||||
}
|
||||
if (0 != mMaxElementWidth) {
|
||||
fprintf(out, "mew=%d ", mMaxElementWidth);
|
||||
}
|
||||
fprintf(out, "{%d,%d,%d,%d} ca={%d,%d,%d,%d}",
|
||||
mBounds.x, mBounds.y, mBounds.width, mBounds.height,
|
||||
mCombinedArea.x, mCombinedArea.y,
|
||||
|
Loading…
Reference in New Issue
Block a user