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

Unified Diff: third_party/WebKit/LayoutTests/fragmentation/cells-dont-fit-on-page-paginated.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/cells-dont-fit-on-page-paginated.html
diff --git a/third_party/WebKit/LayoutTests/fragmentation/cells-dont-fit-on-page-paginated.html b/third_party/WebKit/LayoutTests/fragmentation/cells-dont-fit-on-page-paginated.html
new file mode 100644
index 0000000000000000000000000000000000000000..84034832e6891ca07617070178cfad1afc8337a6
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fragmentation/cells-dont-fit-on-page-paginated.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<style>
+table { border-spacing:0; line-height:2em; }
+tr { break-inside:avoid; }
+td { padding:0; background:red; }
+td > div { width:1em; background:green; }
+</style>
+<p>There should be a green square and no red below.</p>
+<div style="columns:2; column-fill:auto; column-gap:0; width:4em; height:5.9em;">
+ <table>
+ <tr>
+ <td><div><br><br></div></td>
+ <td><div><br><br></div></td>
+ </tr>
+ <tr>
+ <td><div><br><br></div></td>
+ <td><div><br><br></div></td>
+ </tr>
+ </table>
+</div>

Powered by Google App Engine
This is Rietveld 408576698