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

Side by Side Diff: LayoutTests/fast/multicol/newmulticol/clipping-overflow-hidden.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>Multicol edge clipping</title> 4 <title>Multicol edge 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 overflow:hidden; 15 overflow:hidden;
20 } 16 }
21 </style> 17 </style>
22 </head> 18 </head>
23 <body> 19 <body>
24 <p>There should be a 100x100 blue square below.</p> 20 <p>There should be a 100x100 blue square below.</p>
25 <div class="mc"> 21 <div class="mc">
26 <div style="width:150px; height:200px; margin-left:-50px; margin-top:-100p x; background:blue;"></div> 22 <div style="width:150px; height:200px; margin-left:-50px; margin-top:-100p x; background:blue;"></div>
27 </div> 23 </div>
28 </body> 24 </body>
29 </html> 25 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698