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

Side by Side Diff: LayoutTests/fast/multicol/newmulticol/clipping-top-overflow.html

Issue 341103002: [New Multicolumn] Remove unnecessary calls to setRegionBasedColumnsEnabled. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <title>Column and multicol content top overflow clipping</title> 4 <title>Column and multicol content top overflow clipping</title>
5 <script>
6 if (window.internals)
7 internals.settings.setRegionBasedColumnsEnabled(true);
8 </script>
9 <style> 5 <style>
10 .mc { 6 .mc {
11 columns: 3; 7 columns: 3;
12 column-gap: 15px; 8 column-gap: 15px;
13 column-fill: auto; 9 column-fill: auto;
14 -webkit-columns: 3; 10 -webkit-columns: 3;
15 -webkit-column-gap: 15px; 11 -webkit-column-gap: 15px;
16 width: 600px; 12 width: 600px;
17 height: 100px; 13 height: 100px;
18 margin: 100px; 14 margin: 100px;
19 } 15 }
20 </style> 16 </style>
21 </head> 17 </head>
22 <body> 18 <body>
23 <p>There should be a 100x100 blue square below.</p> 19 <p>There should be a 100x100 blue square below.</p>
24 <div class="mc"> 20 <div class="mc">
25 <div style="width:100px; height:100px; margin-left:-50px; margin-top:-80px ; background:blue;"></div> 21 <div style="width:100px; height:100px; margin-left:-50px; margin-top:-80px ; background:blue;"></div>
26 </div> 22 </div>
27 </body> 23 </body>
28 </html> 24 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698