0
Files
src/third_party/blink/web_tests/printing/page-count-layout-overflow.html
Kent Tamura 77578ccb40 The Great Blink mv for LayoutTests
This CL moves third_party/WebKit/LayoutTests to
third_party/blink/web_tests.

NOTRY=true
NOAUTOREVERT=true
NOPRESUBMIT=true
NOTREECHECKS=true
TBR=robertma@chromium.org

Bug: 843412
Change-Id: Ibb588b93d1579bcd1cb68df0a50efd8653f8724f
Reviewed-on: https://chromium-review.googlesource.com/c/1328627
Reviewed-by: Kent Tamura <tkent@chromium.org>
Commit-Queue: Kent Tamura <tkent@chromium.org>
Cr-Commit-Position: refs/heads/master@{#610740}
2018-11-25 22:33:43 +00:00

33 lines
690 B
HTML

<html>
<head>
<style type="text/css">
p {
font-size: xx-large;
width: 1000px;
height: 100px;
}
</style>
<script type="text/javascript">
function runTest()
{
if (!window.testRunner)
return;
testRunner.dumpAsText();
var lines = [ 'line<br>' ];
for (var i = 0; i < 7; i++)
lines = lines.concat(lines);
document.body.innerHTML = '<p>' + lines.join('') + '</p>';
document.body.textContent = 'When printing, layout overflow must be cleared after current document size is queried: ' + (internals.numberOfPages() > 1 ? 'PASS' : 'FAIL');
}
</script>
<head>
<body onload="runTest()">
This test needs window.testRunner to run.
</body>
</html>