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

Side by Side Diff: LayoutTests/fast/multicol/newmulticol/balance-maxheight1.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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>balancing multicol with max-height</title>
5 <script src="../../js/resources/js-test-pre.js"></script>
6 <script>
7 if (window.testRunner)
8 testRunner.dumpAsText();
9 if (window.internals)
10 internals.settings.setRegionBasedColumnsEnabled(true);
11 </script>
12 </head>
13 <body>
14 <p>There should be two identical boxes below.</p>
15 <div id="mc" style="-webkit-columns:3; columns:3; max-height:2em; orphans:1; widows:1; color:olive; background:olive;">
16 line<br>
17 line<br>
18 line<br>
19 </div>
20 <div id="ref" style="margin-top:1em; color:olive; background:olive;">
21 line<br>
22 </div>
23 <script>
24 shouldBe("mc.offsetHeight", "ref.offsetHeight");
25 shouldBe("document.documentElement.scrollWidth", "document.documentElement .clientWidth");
26 </script>
27 <script src="../../js/resources/js-test-post.js"></script>
28 </body>
29 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698