chromium/third_party/blink/web_tests/fast/text-autosizing/print-autosizing.html

<!DOCTYPE html>
<html>
<head>

<meta name="viewport" content="width=800">
<style>
html { font-size: 16px; }
body { width: 800px; margin: 0; overflow-y: hidden; }
</style>

<script src="resources/autosizingTest.js"></script>
</head>
<body>

<div>
  This text should not be autosized because the document is printing.<br>
  There is enough text that we should <b>autosize</b> the text initially, but while printing we should not be autosized.<br>
  Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
</div>

<script>
  if (window.testRunner) {
    testRunner.waitUntilDone();
    testRunner.setPrinting();
    requestAnimationFrame(function() {
      testRunner.notifyDone();
    });
  }
</script>
</body>
</html>