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

Side by Side Diff: LayoutTests/fast/multicol/change-block-child-height.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 <script> 2 <script>
3 if (window.internals)
4 internals.settings.setRegionBasedColumnsEnabled(true);
5 onload = function() { 3 onload = function() {
6 document.body.offsetTop; // trigger layout 4 document.body.offsetTop; // trigger layout
7 document.getElementById('elm').style.height = '0'; 5 document.getElementById('elm').style.height = '0';
8 } 6 }
9 </script> 7 </script>
10 <p>There should be a blue <em>square</em> below, with no red.</p> 8 <p>There should be a blue <em>square</em> below, with no red.</p>
11 <div style="-webkit-columns:3; columns:3; -webkit-column-gap:0; column-gap:0; wi dth:9em; line-height:9em; background:blue;"> 9 <div style="-webkit-columns:3; columns:3; -webkit-column-gap:0; column-gap:0; wi dth:9em; line-height:9em; background:blue;">
12 <br> 10 <br>
13 <br> 11 <br>
14 <div id="elm" style="height:10em; background:red;"></div> 12 <div id="elm" style="height:10em; background:red;"></div>
15 <br> 13 <br>
16 </div> 14 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698