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

Unified Diff: third_party/WebKit/LayoutTests/fast/multicol/balance-table-with-border-spacing.html

Issue 2803383002: The first table row is pushed down by border-spacing. (Closed)
Patch Set: break-inside:avoid on a row shouldn't prevent breaking inside adjacent border spacing Created 3 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fragmentation/border-spacing-break-before-unbreakable-row.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/multicol/balance-table-with-border-spacing.html
diff --git a/third_party/WebKit/LayoutTests/fast/multicol/balance-table-with-border-spacing.html b/third_party/WebKit/LayoutTests/fast/multicol/balance-table-with-border-spacing.html
new file mode 100644
index 0000000000000000000000000000000000000000..ba056553017e47f1ff0dae1ce96af6caf5b97837
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/multicol/balance-table-with-border-spacing.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<div id="multicol" style="columns:2; width:200px; line-height:20px;">
+ <div style="display:table; border-spacing:1px;">
+ <div style="display:table-cell; width:30px;">
+ <br>
+ <br>
+ <br>
+ <br>
+ <br>
+ </div>
+ </div>
+</div>
+<script src="../../resources/testharness.js"></script>
+<script src="../../resources/testharnessreport.js"></script>
+<script>
+ test(() => {
+ var multicol = document.getElementById("multicol");
+ assert_equals(multicol.offsetHeight, 61);
+ }, "Balanced multicol with table with border spacing");
+</script>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fragmentation/border-spacing-break-before-unbreakable-row.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698