Add a paged mode layout to layout debugger
Categories
(Core :: Layout, enhancement, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox72 | --- | fixed |
People
(Reporter: TYLin, Assigned: TYLin)
Details
Attachments
(3 files)
This bug is to add a paged mode layout in layout debugger like what we have in "reftest-paged" reftests. The print setup is in setupPrintMode() in reftest-content.js.
When interactively debugging fragmentation in rr, this might be useful by using a fragmention environment closer to real printing setup rather in multicol on certain cases.
Assignee | ||
Comment 1•5 years ago
|
||
Bug 1566215 Part 3 moved these features to layoutdebug.js.
https://hg.mozilla.org/mozilla-central/rev/f84c119572a1f4d8b20ac05c0bd8cefe4fe70fef
Assignee | ||
Comment 2•5 years ago
|
||
This patch adds a menu item in "Toggle" -> "Paged Mode". If the item is
toggled, after finishing loading the document, the document will be
forced into paged mode.
The print settings in nsLayoutDebuggingTools::SetPagedMode()
are
similar to setupPrintMode()
in reftest-content.js.
Remove the hack in nsDocumentViewer::InitInternal() because we don't
want to set a new document when mIsPageMode = false.
Depends on D49992
Assignee | ||
Comment 3•5 years ago
|
||
Depends on D49993
Comment 5•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/d848235872b1
https://hg.mozilla.org/mozilla-central/rev/30f66e8e2c19
https://hg.mozilla.org/mozilla-central/rev/3825f76612d8
Comment 6•5 years ago
|
||
bugherder landing |
Description
•