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

Unified Diff: LayoutTests/fast/multicol/newmulticol/balance2.html

Issue 16943008: Column balancing support in the region based multicol implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 6 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: LayoutTests/fast/multicol/newmulticol/balance2.html
diff --git a/LayoutTests/fast/multicol/newmulticol/balance2.html b/LayoutTests/fast/multicol/newmulticol/balance2.html
new file mode 100644
index 0000000000000000000000000000000000000000..d7658f4b18332f0846b4fd86476dbe3949bf4442
--- /dev/null
+++ b/LayoutTests/fast/multicol/newmulticol/balance2.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>auto-height multicol</title>
+ <script src="../../js/resources/js-test-pre.js"></script>
+ <script>
+ if (window.testRunner)
+ testRunner.dumpAsText();
+ if (window.internals)
+ internals.settings.setRegionBasedColumnsEnabled(true);
+ </script>
+ </head>
+ <body>
+ <p>There should be two identical boxes below.</p>
+ <div id="mc" style="-webkit-columns:4; columns:4; orphans:1; widows:1; color:olive; background:olive;">
+ line<br>
+ line<br>
+ line<br>
+ </div>
+ <div id="ref" style="margin-top:1em; color:olive; background:olive;">
+ line<br>
+ </div>
+ <script>
+ shouldBe("mc.offsetHeight", "ref.offsetHeight");
+ </script>
+ <script src="../../js/resources/js-test-post.js"></script>
+ </body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698