Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / printing / page-count-with-one-word.html
blob11a8af0bb2070fd4f88982d9509530f5465e007e
1 <html>
2 <body>
3 <pre id="console">
4 test
5 </pre>
6 <script>
7 if (window.testRunner) {
8 testRunner.dumpAsText();
10 var msg = 'A page with only one line should be printed in one page.\n';
11 var pass = true;
13 // Test the range around A4 portrait paper size
14 for (var i = 530; i < 560; i++) {
15 for (var j = 730; j < 760; j++) {
16 var numberOfPages = internals.numberOfPages(i, j);
18 if (numberOfPages != 1) {
19 pass = false;
20 msg += 'width=' + i + ', height=' + j + ': numberOfPages=' + numberOfPages + ' FAIL\n';
24 msg += (pass ? 'PASS' : 'FAIL');
25 document.querySelector('#console').textContent = msg;
27 </script>
28 </body>
29 </html>