Bug 1945944: Add flag to dump frame tree with only deterministic information for diffing. r=layout-reviewers,emilio
Differential Revision: https://phabricator.services.mozilla.com/D236797
This commit is contained in:
@@ -10647,7 +10647,9 @@ void nsTextFrame::List(FILE* out, const char* aPrefix, ListFlags aFlags) const {
|
||||
nsCString str;
|
||||
ListGeneric(str, aPrefix, aFlags);
|
||||
|
||||
str += nsPrintfCString(" [run=%p]", static_cast<void*>(mTextRun));
|
||||
if (!aFlags.contains(ListFlag::OnlyListDeterministicInfo)) {
|
||||
str += nsPrintfCString(" [run=%p]", static_cast<void*>(mTextRun));
|
||||
}
|
||||
|
||||
// Output the first/last content offset and prev/next in flow info
|
||||
bool isComplete = uint32_t(GetContentEnd()) == GetContent()->TextLength();
|
||||
|
||||
Reference in New Issue
Block a user