chromium/third_party/blink/web_tests/printing/width-overflow.html

<!DOCTYPE html>
<html>
<head>
<style>
body {
    margin : 0;
}
</style>
</head>

<body>
<p>
To run this test manually, print this page.
If the right side of any lines is printed without being truncated, the test passes.
</p>
<div id="result" style="width:1300px; margin:auto; box-sizing:border-box; border:solid;">
</div>
<script>
if (window.testRunner)
    testRunner.setPrinting();

var testCases = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
var result = "";
for (var i = 0; i < testCases.length; i++) {
    result += "<p>";
    for (var j = 0; j < 300; j++) {
        result += testCases[i] + " ";
    }
    result += "</p>\n";
}
document.getElementById("result").innerHTML = result;
</script>
</body>
</html>