Bug 1882890 Part 2 - Add tests for centering the page when printing. r=dholbert
commit7dc693b68b28e3b49bd6351de91457e84e5b9c75
authorEmily McDonough <emcdonough@mozilla.com>
Thu, 28 Mar 2024 19:00:52 +0000 (28 19:00 +0000)
committerEmily McDonough <emcdonough@mozilla.com>
Thu, 28 Mar 2024 19:00:52 +0000 (28 19:00 +0000)
treea4914242b47806023936bec6583d68bccbdfec9d
parentf72bc84eb6954da2022621525d26f8c0c533c0f1
Bug 1882890 Part 2 - Add tests for centering the page when printing. r=dholbert

Because the properties of the tests are all just size relations, it's easy
to generate some of the source directly and provide it as a data URL.

This should test all three states for the pref.

Differential Revision: https://phabricator.services.mozilla.com/D204134
layout/base/tests/chrome/chrome.toml
layout/base/tests/chrome/printpreview_helper.xhtml
layout/base/tests/chrome/printpreview_scale_test_001.html [new file with mode: 0644]
layout/base/tests/chrome/printpreview_scale_test_001_ref.html [new file with mode: 0644]
layout/base/tests/chrome/printpreview_scale_test_002.html [new file with mode: 0644]
layout/base/tests/chrome/printpreview_scale_test_002_ref.html [new file with mode: 0644]
layout/base/tests/chrome/printpreview_scale_test_003.html [new file with mode: 0644]
layout/base/tests/chrome/printpreview_scale_test_003_ref.html [new file with mode: 0644]