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

Side by Side Diff: third_party/WebKit/LayoutTests/printing/avoid-setting-header-offset-on-header.html

Issue 2803383002: The first table row is pushed down by border-spacing. (Closed)
Patch Set: break-inside:avoid on a row shouldn't prevent breaking inside adjacent border spacing Created 3 years, 7 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <body> 2 <body>
3 <style> 3 <style>
4 body { 4 body {
5 margin: 0px; 5 margin: 0px;
6 } 6 }
7 td { 7 td {
8 border: 1px solid black; 8 border: 1px solid black;
9 height: 40px; 9 height: 40px;
10 } 10 }
11 </style> 11 </style>
12 <script> 12 <script>
13 if (window.testRunner) 13 if (window.testRunner)
14 testRunner.setPrinting(); 14 testRunner.setPrinting();
15 </script> 15 </script>
16 <!-- crbug.com/702605: Header uses offset intended for rows. The first header ro w should be at the top of the first page. --> 16 <!-- crbug.com/702605: Header uses offset intended for rows. The first header ro w should be at the top of the first page. -->
17 <table> 17 <table cellspacing="0">
18 <thead> 18 <thead>
19 <tr> 19 <tr>
20 <td>header 1</td> 20 <td>header 1</td>
21 <td>header 2</td> 21 <td>header 2</td>
22 <td>header 3</td> 22 <td>header 3</td>
23 </tr> 23 </tr>
24 </thead> 24 </thead>
25 <tbody> 25 <tbody>
26 <tr> 26 <tr>
27 <td>1-1</td> 27 <td>1-1</td>
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 <td>3-19</td> 119 <td>3-19</td>
120 </tr> 120 </tr>
121 <tr> 121 <tr>
122 <td>1-20</td> 122 <td>1-20</td>
123 <td>2-20</td> 123 <td>2-20</td>
124 <td>3-20</td> 124 <td>3-20</td>
125 </tr> 125 </tr>
126 </tbody> 126 </tbody>
127 </table> 127 </table>
128 </body> 128 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698