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

Side by Side Diff: LayoutTests/fast/multicol/newmulticol/balance-maxheight2.html

Issue 814113008: Make virtual/regionbasedmulticol/fast/multicol/newmulticol/balance-maxheight2.html pass on Mac. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: virtual/slimmingpaint/fast/multicol/newmulticol/balance-maxheight2.html should pass now Created 5 years, 11 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
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <title>balancing multicol with max-height</title> 4 <title>balancing multicol with max-height</title>
5 <script src="../../../resources/js-test.js"></script> 5 <script src="../../../resources/js-test.js"></script>
6 <script> 6 <script>
7 if (window.testRunner) 7 if (window.testRunner)
8 testRunner.dumpAsText(); 8 testRunner.dumpAsText();
9 </script> 9 </script>
10 </head> 10 </head>
11 <body> 11 <body>
12 <p>There should be two identical boxes below.</p> 12 <p>There should be two identical boxes below.</p>
13 <div id="mc" style="-webkit-columns:3; columns:3; max-height:2em; orphans:1; widows:1; color:olive; background:olive;"> 13 <div id="mc" style="-webkit-columns:3; columns:3; max-height:2em; line-heigh t:1.5em; orphans:1; widows:1; color:olive; background:olive;">
14 <br> 14 <br>
15 <br> 15 <br>
16 <br> 16 <br>
17 <br> 17 <br>
18 </div> 18 </div>
19 <div id="ref" style="margin-top:1em; height:2em; color:olive; background:oli ve;"> 19 <div id="ref" style="margin-top:1em; height:2em; color:olive; background:oli ve;">
20 <br> 20 <br>
21 </div> 21 </div>
22 <script> 22 <script>
23 shouldBe("mc.offsetHeight", "ref.offsetHeight"); 23 shouldBe("mc.offsetHeight", "ref.offsetHeight");
24 // There should be horizontal overflow: 24 // There should be horizontal overflow:
25 shouldNotBe("document.documentElement.scrollWidth", "document.documentElem ent.clientWidth"); 25 shouldNotBe("document.documentElement.scrollWidth", "document.documentElem ent.clientWidth");
26 shouldBeGreaterThanOrEqual("document.documentElement.scrollWidth", "docume nt.documentElement.clientWidth"); 26 shouldBeGreaterThanOrEqual("document.documentElement.scrollWidth", "docume nt.documentElement.clientWidth");
27 </script> 27 </script>
28 </body> 28 </body>
29 </html> 29 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698