Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(101)

Side by Side Diff: LayoutTests/printing/single-line-must-not-be-split-into-two-pages.html

Issue 898783003: Move rendering/RenderLayer* to layout/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698