Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / multicol / dynamic / insert-spanner-into-stf-constrained-width.html
blob47418f13642dd827100d3b59075d1876d0c7523f
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');
9 </script>
10 <p>Check that inserting a spanner into the multicol container updates the preferred minimum width.</p>
11 <p>You should see a blue square below.</p>
12 <div id="stf" style="width:-webkit-min-content; font:20px Ahem; color:blue; background:blue;" data-expected-width="100" data-expected-height="100">
13 <div style="-webkit-columns:3;">
14 <div id="elm" style="display:none; -webkit-column-span:all; height:100px;">
15 xxxxx xxxxx
16 </div>
17 </div>
18 </div>