Closed Bug 866785 Opened 12 years ago Closed 12 years ago

[debug-only] Some frame dump improvements (nsIFrame::List)

Categories

(Core :: Layout, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla23

People

(Reporter: MatsPalmgren_bugz, Assigned: MatsPalmgren_bugz)

Details

Attachments

(1 file)

No description provided.
Attached patch fixSplinter Review
Move repeated nsIFrame::List implementations code to a new method, ListGeneric, for re-use. Cleanup and improve the code a bit. Specifically: * move all the frame dump methods to nsIFrame. Especially nsFrame::ListTag was annoying, often requiring a cast to nsFrame*. * print common values in the same order for all types of frames * print fluid continuations as "next-in-flow=%p" and non-fluid as "next-continuation=%p" (as before) * print the style-context more compactly, e.g. "[sc=0x7faa6b60e0a0] pst=:first-line" becomes "[sc=0x7faa6b60e0a0:first-line]" * suppress printing visual/scroll-overflow rects when they are identical to mRect and do the same for nsLineBox::List where it was especially hard to see which lines actually had real overflow * fix a bug that printed the child list name at the far right when the principal list was empty (making it hard to see) * print the address of child lists (other than the principal list) to help debug frame list property bugs * s/NS_IMETHODIMP/void/
Attachment #743165 - Flags: review?(roc)
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla23
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: