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

Unified Diff: third_party/WebKit/LayoutTests/fast/multicol/nested-balanced-inner-column-count-1-with-forced-break-2.html

Issue 2493833004: InitialColumnHeightFinder needs to take all expected rows into account. (Closed)
Patch Set: Code review Created 4 years, 1 month 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/fast/multicol/nested-balanced-inner-with-many-breaks.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/nested-balanced-inner-column-count-1-with-forced-break-2.html
diff --git a/third_party/WebKit/LayoutTests/fast/multicol/nested-balanced-inner-column-count-1-with-forced-break-2.html b/third_party/WebKit/LayoutTests/fast/multicol/nested-balanced-inner-column-count-1-with-forced-break-2.html
new file mode 100644
index 0000000000000000000000000000000000000000..9da162d86a01c5a2cb263fef845d532f9256265a
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/multicol/nested-balanced-inner-column-count-1-with-forced-break-2.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<p>There should be a green square below, and no red.</p>
+<div id="outer" style="columns:2; column-gap:0; width:20px; line-height:20px; background:red;">
+ <div style="columns:1; column-gap:0; background:green;">
+ <div><br></div>
+ <div style="break-before:column;"><br></div>
+ </div>
+</div>
+<script src="../../resources/testharness.js"></script>
+<script src="../../resources/testharnessreport.js"></script>
+<script>
+test(() => {
+ var elm = document.getElementById("outer");
+ assert_equals(elm.offsetHeight, 20);
+}, "Inner column count is 1");
+</script>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/multicol/nested-balanced-inner-with-many-breaks.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698