OLD | NEW |
---|---|
(Empty) | |
1 <!DOCTYPE html> | |
2 <style> | |
3 table { | |
4 border-collapse: collapse; | |
5 } | |
6 td { | |
7 background-color: #ddd; | |
8 border: 1px solid black; | |
9 font-size: 50px; | |
10 } | |
11 tr { | |
12 page-break-inside: avoid; | |
mstensho (USE GERRIT)
2016/03/17 14:04:03
break-inside:avoid
| |
13 } | |
14 </style> | |
15 <p>crbug.com/99124: Table rows shouldn't straddle page boundaries.</p> | |
16 <div style="-webkit-columns:3; line-height: 60px; height:210px; background-color : yellow;"> | |
mstensho (USE GERRIT)
2016/03/17 14:04:03
You probably don't want the columns balanced, so y
| |
17 <table> | |
18 <tr><td class="td" data-total-y=1>Text Text Text Text Text Text Text Tex t</td><td>Text Text Text Text Text Text Text Text</td></tr> | |
mstensho (USE GERRIT)
2016/03/17 14:04:03
Will "never" fail, no matter how broken we are (as
| |
19 </table> | |
20 </div> | |
21 <div id="console"></div> | |
22 <script src="../../resources/check-layout.js"></script> | |
23 <script> | |
24 checkLayout(".td", document.getElementById("console")); | |
25 </script> | |
26 | |
OLD | NEW |