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

Side by Side Diff: LayoutTests/fast/multicol/span/preferred-widths-with-column-content.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: add assert in adjustIntrinsicLogicalWidthsForColumns() 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() { checkLayout('#stf'); }
5 </script>
6 <p>Test that a spanner contributes to the maximum preferred width of a multicol container.</p>
7 <p>Below there should be a blue square.</p>
8 <div id="stf" style="width:-webkit-max-content;" data-expected-width="160" data- expected-height="160">
9 <div style="-webkit-columns:4; -webkit-column-gap:0; font:20px/1 Ahem; color :blue; background:blue;">
10 X<br>X<br>X<br>X<br>
11 X<br>X<br>X<br>X<br>
12 <div style="-webkit-column-span:all;">
13 XXXX XXX
14 </div>
15 X<br>X<br>X<br>X<br>
16 X<br>X<br>X<br>X<br>
17 X<br>X<br>X<br>X<br>
18 X<br>X<br>X<br>X<br>
19 X<br>X<br>X<br>X<br>
20 </div>
21 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698