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

Unified Diff: third_party/WebKit/LayoutTests/fragmentation/fragmented-table-cell.html

Issue 2412923002: Top-align table cells in rows that cross fragmentainer boundaries. (Closed)
Patch Set: Let's keep the pagination strut substraction thing a bit longer, since removing it affects some DRT… Created 4 years, 2 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/fragmented-table-cell.html
diff --git a/third_party/WebKit/LayoutTests/fragmentation/fragmented-table-cell.html b/third_party/WebKit/LayoutTests/fragmentation/fragmented-table-cell.html
new file mode 100644
index 0000000000000000000000000000000000000000..c777ca5b6e16c5aa55c25cfcdf78bf5acaf7e272
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fragmentation/fragmented-table-cell.html
@@ -0,0 +1,30 @@
+<!DOCTYPE html>
+<style>
+ td { width:1em; }
+</style>
+<p>The word "PASS" should be seen below, with large letter
+ spacing. There should be a blue rectangle snapped to the blue
+ line. There should be no red.</p>
+<div style="columns:3; column-gap:0; column-fill:auto; width:15em; height:90px; line-height:20px; orphans:1; widows:1; border-top:1px solid blue;">
+ <br>
+ <br>
+ <table cellpadding="0" cellspacing="0" style="background:white;">
+ <tr>
+ <td style="vertical-align:bottom;">
+ P
+ </td>
+ <td style="vertical-align:baseline; background:red;">
+ <div style="background:white;">
+ A<br><br>
+ <div style="break-inside:avoid; width:100%; height:1em; background:blue;"></div>
+ </div>
+ </td>
+ <td style="vertical-align:top;">
+ S
+ </td>
+ <td style="vertical-align:middle;">
+ S
+ </td>
+ </tr>
+ </table>
+</div>

Powered by Google App Engine
This is Rietveld 408576698