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

Unified Diff: third_party/WebKit/LayoutTests/fragmentation/second-cell-doesnt-fit-in-column.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, 8 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fragmentation/second-cell-doesnt-fit-in-column.html
diff --git a/third_party/WebKit/LayoutTests/fragmentation/second-cell-doesnt-fit-in-column.html b/third_party/WebKit/LayoutTests/fragmentation/second-cell-doesnt-fit-in-column.html
new file mode 100644
index 0000000000000000000000000000000000000000..084bd3b020ede12f96663b049fe05420ad597a1f
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fragmentation/second-cell-doesnt-fit-in-column.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<style>
+table {
+ border-collapse: collapse;
mstensho (USE GERRIT) 2016/05/04 20:23:44 Does this actually make any difference? Border col
+}
+td {
+ background-color: #ddd;
+ border: 1px solid black;
+}
+tr {
+ break-inside: avoid;
+}
+</style>
+<p>crbug.com/99124: A break-inside:avoid row doesn't fit on page, so it breaks and the text inside it moves to avoid straddling the page-break.</p>
+<div style="columns:2; column-fill:auto; height:5em; line-height:2em;">
+ first column<br>
+ <table cellpadding="1" cellspacing="0">
+ <tr>
+ <td>second column<br>second column</td>
mstensho (USE GERRIT) 2016/05/04 20:23:44 I only see one cell. The name of this file suggest
+ </tr>
+ </table>
+</div>

Powered by Google App Engine
This is Rietveld 408576698