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

Unified Diff: LayoutTests/fast/multicol/newmulticol/balance7.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/balance7.html
diff --git a/LayoutTests/fast/multicol/newmulticol/balance7.html b/LayoutTests/fast/multicol/newmulticol/balance7.html
new file mode 100644
index 0000000000000000000000000000000000000000..75670213874da0c0d7feff4dd44f31f984395d80
--- /dev/null
+++ b/LayoutTests/fast/multicol/newmulticol/balance7.html
@@ -0,0 +1,36 @@
+<!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:3; columns:3; orphans:1; widows:1; color:olive; background:olive;">
+ <div style="font-size:1.3em;">line</div>
+ <div>line</div>
+ <div>line</div>
+ <div>line</div>
+ <div>line</div>
+ <div>line</div>
+ <div>line</div>
+ <div>line</div>
+ <div>line</div>
+ </div>
+ <div id="ref" style="margin-top:1em; color:olive; background:olive;">
+ <div style="font-size:1.3em;">line</div>
+ <div>line</div>
+ <div>line</div>
+ </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