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

Side by Side Diff: third_party/WebKit/LayoutTests/fragmentation/single-large-cell-with-header.html

Issue 2882043002: Update our treatment of repeating headers in tables (Closed)
Patch Set: bug 720620 Created 3 years, 6 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 <style> 2 <style>
3 td, th {
4 background-color: #ddd;
5 border: 1px solid black;
6 }
7 thead, tr { 3 thead, tr {
8 break-inside: avoid; 4 break-inside: avoid;
9 } 5 }
10 </style> 6 </style>
11 <p>crbug.com/669690: If the body's first row doesn't fit on a page then don't re peat headers.</p> 7 <p>crbug.com/669690: If the body's first row doesn't fit on a page then stil rep eat headers.</p>
12 <div style="columns:3; line-height: 18px; column-fill: auto; height:74px; backgr ound-color: yellow;"> 8 <div style="columns:3; line-height: 18px; column-fill: auto; height:105px; backg round-color: yellow;">
13 <table> 9 <table cellspacing="0" cellpadding="0" style="background:pink;">
14 <thead> 10 <thead>
15 <tr> 11 <tr>
16 <th>Col 1</th> 12 <th>Col 1</th>
17 </tr> 13 </tr>
18 </thead> 14 </thead>
19 <tr><td> 15 <tr><td>
20 <p>1</p> 16 1<br>
21 <p>2</p> 17 2<br>
22 <p>3</p> 18 3<br>
23 <p>4</p> 19 4<br>
24 <p>5</p> 20 5<br>
25 <p>6</p> 21 6<br>
26 <p>7</p>
27 <p>8</p>
28 <p>9</p>
29
30 <p>10</p>
31 <p>11</p>
32 <p>12</p>
33 <p>13</p>
34 <p>14</p>
35 <p>15</p>
36 <p>16</p>
37 <p>17</p>
38 <p>18</p>
39 <p>19</p>
40 </td></tr> 22 </td></tr>
41 </table> 23 </table>
42 </div> 24 </div>
43 25
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698