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

Side by Side Diff: LayoutTests/fast/multicol/dynamic/insert-spanner-into-stf-constrained-width.html

Issue 879483002: [New Multicolumn] Intrinsic/preferred logical width calculation for spanners. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 11 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
(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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698