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

Side by Side Diff: LayoutTests/fast/multicol/newmulticol/balance-images.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
« no previous file with comments | « no previous file | LayoutTests/fast/multicol/newmulticol/balance-images-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <style>
13 img { display:block; height:123px; }
14 </style>
15 </head>
16 <body>
17 <p>There should be a 2 by 2 image grid below.</p>
18 <div id="mc" style="-webkit-columns:3; columns:3; orphans:1; widows:1; color :olive; background:olive;">
19 <img src="../resources/ipad.jpg">
20 <img src="../resources/ipad.jpg">
21 <img src="../resources/ipad.jpg">
22 <img src="../resources/ipad.jpg">
23 </div>
24 <script>
25 shouldBe("mc.offsetHeight", "246");
26 shouldBe("document.documentElement.scrollWidth", "document.documentElement .clientWidth");
27 </script>
28 <script src="../../js/resources/js-test-post.js"></script>
29 </body>
30 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/multicol/newmulticol/balance-images-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698