Bug 722603 - Add 3d transforms debugging code to nsBlockFrame. r=roc

This commit is contained in:
Matt Woodrow 2012-05-11 19:49:12 +12:00
parent 10613b8145
commit 6e453c5d34

View File

@ -439,6 +439,18 @@ nsBlockFrame::List(FILE* out, PRInt32 aIndent) const
fprintf(out, " pst=%s",
NS_LossyConvertUTF16toASCII(atomString).get());
}
if (IsTransformed()) {
fprintf(out, " transformed");
}
if (ChildrenHavePerspective()) {
fprintf(out, " perspective");
}
if (Preserves3DChildren()) {
fprintf(out, " preserves-3d-children");
}
if (Preserves3D()) {
fprintf(out, " preserves-3d");
}
fputs("<\n", out);
aIndent++;