gecko-dev/layout/tools
Ting-Yu Lin 0023c0c92d Bug 1590185 Part 2 - Support paged mode layout in layout debugger. r=dbaron
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.

Differential Revision: https://phabricator.services.mozilla.com/D49993

--HG--
extra : moz-landing-system : lando
2019-10-29 19:51:42 +00:00
..
layout-debug Bug 1590185 Part 2 - Support paged mode layout in layout debugger. r=dbaron 2019-10-29 19:51:42 +00:00
recording Bug 1561435 - Format layout/, a=automatic-formatting 2019-07-05 10:50:41 +02:00
reftest Bug 1587142 - Remove most XBL tests in dom/ r=bzbarsky 2019-10-25 22:38:08 +00:00
tests