Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / multicol / dynamic / insert-spanner-into-stf-unconstrained-width.html
blobd4218403d003669043032110462a0d2293b84fa4
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 maximum width.</p>
11 <p>You should see a blue square below.</p>
12 <div id="stf" style="width:-webkit-max-content; font:20px Ahem; color:blue; background:blue;" data-expected-width="200" data-expected-height="200">
13 <div style="-webkit-columns:3;">
14 <div id="elm" style="display:none; -webkit-column-span:all; height:200px;">
15 xxxxx xxxx
16 </div>
17 </div>
18 </div>