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

Side by Side Diff: third_party/WebKit/LayoutTests/fragmentation/single-cell-too-large-for-page.html

Issue 1602773005: Respect break-inside:avoid on table rows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated Created 4 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
(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 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; column-fill: auto; height:210p x; background-color: yellow;">
17 <table>
18 <tr>
19 <td><div id="container" data-total-y=1>Text <br> Text <br> Text <br> Text <br> Text <br> Text <br> Text <br> Text</td>
20 <td>Text <br> Text <br> Text <br> Text <br> Text <br> Text <br> Text <br> Text</td>
21 </tr>
22 </table>
23 </div>
24 <div id="console"></div>
25 <script src="../resources/check-layout.js"></script>
26 <script>
27 checkLayout("#container", document.getElementById("console"));
28 </script>
29
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698