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

Unified Diff: third_party/WebKit/LayoutTests/fragmentation/cell-doesnt-fit-on-page-has-text.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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fragmentation/cell-doesnt-fit-on-page-has-text.html
diff --git a/third_party/WebKit/LayoutTests/fragmentation/cell-doesnt-fit-on-page-has-text.html b/third_party/WebKit/LayoutTests/fragmentation/cell-doesnt-fit-on-page-has-text.html
new file mode 100644
index 0000000000000000000000000000000000000000..f1db213d1c56a3cb0e9bc6bf3139dff3feb17aa9
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fragmentation/cell-doesnt-fit-on-page-has-text.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<style>
+table {
+ border-collapse: collapse;
+}
+td {
+ background-color: #ddd;
+ font-size: 65px;
+ 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:3; column-fill:auto; height:210px; background:yellow;">
+ <table>
+ <tr><td>Text Text Text Text Text Text Text Text Text Text Text Text Text Text</td></tr>
+ </table>
+</div>
+

Powered by Google App Engine
This is Rietveld 408576698