-
Ting-Yu Lin authored
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
0023c0c9