| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 </head> | 3 </head> |
| 4 <style> | 4 <style> |
| 5 /* relative positioning ensures underlying RenderLayer */ | 5 /* relative positioning ensures underlying Layer */ |
| 6 .renderingArea { | 6 .renderingArea { |
| 7 position: relative; | 7 position: relative; |
| 8 } | 8 } |
| 9 </style> | 9 </style> |
| 10 <body> | 10 <body> |
| 11 <p> | 11 <p> |
| 12 A single line must not be split into two pages. | 12 A single line must not be split into two pages. |
| 13 This test checks if a single line is not split into two pages. | 13 This test checks if a single line is not split into two pages. |
| 14 To run this test manually, comment out the last two lines of JavaScript | 14 To run this test manually, comment out the last two lines of JavaScript |
| 15 (See the comment in JavaScript) and then print this page. | 15 (See the comment in JavaScript) and then print this page. |
| (...skipping 25 matching lines...) Expand all Loading... |
| 41 if (window.internals) | 41 if (window.internals) |
| 42 document.getElementById("overflowedLines").innerText = window.internals.elem
entLayoutTreeAsText(document.getElementById("renderingArea2")); | 42 document.getElementById("overflowedLines").innerText = window.internals.elem
entLayoutTreeAsText(document.getElementById("renderingArea2")); |
| 43 | 43 |
| 44 // To test manually, comment out the following two lines, | 44 // To test manually, comment out the following two lines, |
| 45 // print this page, and check if no lines are split across two pages. | 45 // print this page, and check if no lines are split across two pages. |
| 46 document.getElementById("renderingArea1").innerHTML = ""; | 46 document.getElementById("renderingArea1").innerHTML = ""; |
| 47 document.getElementById("renderingArea2").innerHTML = ""; | 47 document.getElementById("renderingArea2").innerHTML = ""; |
| 48 </script> | 48 </script> |
| 49 </body> | 49 </body> |
| 50 </html> | 50 </html> |
| OLD | NEW |