mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-12 21:05:36 +00:00
Bug 574756. Make sure nsIFrame::List outputs the stylecontext of the frame. r=dbaron
This commit is contained in:
parent
cc75858eb7
commit
ee0aeb4d63
@ -4178,6 +4178,7 @@ nsFrame::List(FILE* out, PRInt32 aIndent) const
|
||||
fprintf(out, " [overflow=%d,%d,%d,%d]", overflowArea.x, overflowArea.y,
|
||||
overflowArea.width, overflowArea.height);
|
||||
}
|
||||
fprintf(out, " [sc=%p]", static_cast<void*>(mStyleContext));
|
||||
fputs("\n", out);
|
||||
return NS_OK;
|
||||
}
|
||||
|
@ -1589,12 +1589,12 @@ nsImageFrame::List(FILE* out, PRInt32 aIndent) const
|
||||
if (HasView()) {
|
||||
fprintf(out, " [view=%p]", (void*)GetView());
|
||||
}
|
||||
fprintf(out, " {%d,%d,%d,%d}", mRect.x, mRect.y, mRect.width,
|
||||
mRect.height);
|
||||
fprintf(out, " {%d,%d,%d,%d}", mRect.x, mRect.y, mRect.width, mRect.height);
|
||||
if (0 != mState) {
|
||||
fprintf(out, " [state=%016llx]", mState);
|
||||
}
|
||||
fprintf(out, " [content=%p]", (void*)mContent);
|
||||
fprintf(out, " [sc=%p]", static_cast<void*>(mStyleContext));
|
||||
|
||||
// output the img src url
|
||||
nsCOMPtr<nsIImageLoadingContent> imageLoader = do_QueryInterface(mContent);
|
||||
|
@ -277,6 +277,9 @@ nsPlaceholderFrame::List(FILE* out, PRInt32 aIndent) const
|
||||
if (nsnull != mContent) {
|
||||
fprintf(out, " [content=%p]", static_cast<void*>(mContent));
|
||||
}
|
||||
if (nsnull != mStyleContext) {
|
||||
fprintf(out, " [sc=%p]", static_cast<void*>(mStyleContext));
|
||||
}
|
||||
if (mOutOfFlowFrame) {
|
||||
fprintf(out, " outOfFlowFrame=");
|
||||
nsFrame::ListTag(out, mOutOfFlowFrame);
|
||||
|
Loading…
Reference in New Issue
Block a user