Support frame tree dump in CSS pixels in layout debugger
Categories
(Core :: Layout, task, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox77 | --- | fixed |
People
(Reporter: TYLin, Assigned: TYLin)
Details
Attachments
(5 files)
Sometimes it is easier to view rects and sizes in CSS pixels instead of app units in the frame tree dump. We can add an extra menu item like "Dump -> Frame (CSS pixels)" in layout debugger.
Assignee | ||
Comment 1•5 years ago
|
||
Assignee | ||
Comment 2•5 years ago
|
||
Audit all the types related to app units [1] printed in
nsIFrame::List (and all the methods that override it), and use
ConvertToString to convert their printing format to CSS pixels if
needed.
In addition, add operator<< to BaseCoord so that it can cooperate with
mozilla::ToString, which is needed by ConvertToString.
[1] The types include nsRect, nsSize, nscoord, LogicalRect, and
LogicalSize.
Depends on D69914
Assignee | ||
Comment 3•5 years ago
|
||
Depends on D69915
Assignee | ||
Comment 4•5 years ago
|
||
Depends on D69916
Assignee | ||
Comment 5•5 years ago
|
||
Depends on D69917
Updated•5 years ago
|
Updated•5 years ago
|
Comment 7•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/7025929aa093
https://hg.mozilla.org/mozilla-central/rev/b02beca33eb1
https://hg.mozilla.org/mozilla-central/rev/31fb906085d3
https://hg.mozilla.org/mozilla-central/rev/dfbf28046ce9
https://hg.mozilla.org/mozilla-central/rev/be7a746a65e6
Description
•