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

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

Issue 58533003: Move fast/js/resources files to resources. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 | Annotate | Revision Log
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="../../js/resources/js-test-pre.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 if (window.internals) 9 if (window.internals)
10 internals.settings.setRegionBasedColumnsEnabled(true); 10 internals.settings.setRegionBasedColumnsEnabled(true);
11 </script> 11 </script>
12 </head> 12 </head>
13 <body> 13 <body>
14 <p>There should be two identical boxes below.</p> 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;"> 15 <div id="mc" style="-webkit-columns:3; columns:3; max-height:2em; orphans:1; widows:1; color:olive; background:olive;">
16 <br> 16 <br>
17 <br> 17 <br>
18 <br> 18 <br>
19 <br> 19 <br>
20 </div> 20 </div>
21 <div id="ref" style="margin-top:1em; height:2em; color:olive; background:oli ve;"> 21 <div id="ref" style="margin-top:1em; height:2em; color:olive; background:oli ve;">
22 <br> 22 <br>
23 </div> 23 </div>
24 <script> 24 <script>
25 shouldBe("mc.offsetHeight", "ref.offsetHeight"); 25 shouldBe("mc.offsetHeight", "ref.offsetHeight");
26 // There should be horizontal overflow: 26 // There should be horizontal overflow:
27 shouldNotBe("document.documentElement.scrollWidth", "document.documentElem ent.clientWidth"); 27 shouldNotBe("document.documentElement.scrollWidth", "document.documentElem ent.clientWidth");
28 shouldBeGreaterThanOrEqual("document.documentElement.scrollWidth", "docume nt.documentElement.clientWidth"); 28 shouldBeGreaterThanOrEqual("document.documentElement.scrollWidth", "docume nt.documentElement.clientWidth");
29 </script> 29 </script>
30 </body> 30 </body>
31 </html> 31 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/multicol/newmulticol/balance-images.html ('k') | LayoutTests/fast/multicol/newmulticol/balance1.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698