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

Unified Diff: third_party/WebKit/LayoutTests/fragmentation/cell-taller-than-col-straddles-columns.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-taller-than-col-straddles-columns.html
diff --git a/third_party/WebKit/LayoutTests/fragmentation/cell-taller-than-col-straddles-columns.html b/third_party/WebKit/LayoutTests/fragmentation/cell-taller-than-col-straddles-columns.html
new file mode 100644
index 0000000000000000000000000000000000000000..f0f5de2247c5aa9708316a419a70c981dc604363
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fragmentation/cell-taller-than-col-straddles-columns.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<p>crbug.com/99124 - If a cell is taller than the page then don't attempt to prevent it straddling pages.</p>
+<div style="-webkit-columns:3; column-fill:auto; line-height:20px; height:90px; background:yellow;">
+ <br>
+ <table>
+ <tr style="break-inside: avoid;">
+ <td>
+ <div id="container" data-total-y=1>
+ First column<br>
+ First column<br>
+ First column<br>
+ Second column<br>
+ Second column<br>
+ Second column<br>
+ Second column<br>
+ Third column<br>
+ </div>
+ </td>
+ </tr>
+ </table>
+</div>
+<div id="console"></div>
+<script src="../resources/check-layout.js"></script>
+<script>
+checkLayout("#container", document.getElementById("console"));
+</script>
+

Powered by Google App Engine
This is Rietveld 408576698