Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE html> | |
| 2 <script src="../../../resources/check-layout.js"></script> | |
| 3 <script> | |
| 4 onload = function() { | |
| 5 document.body.offsetTop; // trigger layout | |
| 6 document.getElementById('elm').style.display = 'block'; | |
| 7 checkLayout('#stf'); | |
| 8 } | |
| 9 </script> | |
| 10 <p>Check that inserting a spanner into the multicol container updates the prefer red minimum width.</p> | |
| 11 <p>You should see a blue square below.</p> | |
| 12 <div class="container" style="width:0;"> | |
| 13 <div id="stf" style="font:20px Ahem; float:left; overflow:hidden; color:blue ; background:blue;" data-expected-width="100" data-expected-height="100"> | |
|
Julien - ping for review
2015/01/26 14:50:12
Do we need float + width: 0 to re-implement width:
mstensho (USE GERRIT)
2015/01/26 16:45:15
Done.
| |
| 14 <div style="-webkit-columns:3;"> | |
| 15 <div id="elm" style="display:none; -webkit-column-span:all; height:1 00px;"> | |
| 16 xxxxx xxxxx | |
| 17 </div> | |
| 18 </div> | |
| 19 </div> | |
| 20 <div style="clear:both;"></div> | |
| 21 </div> | |
| OLD | NEW |