Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / multicol / multicol-becomes-paged-auto-height.html
1 <!DOCTYPE html>
2 <script>
3     onload = function() {
4         var elm = document.getElementById('elm');
5         elm.offsetTop; // trigger layout
6         elm.style.WebkitColumns = 'auto';
7         elm.style.columns = 'auto';
8         elm.style.overflow = '-webkit-paged-x';
9     }
10 </script>
11 <p>There should be a blue <em>square</em> below, and no scrollbar.</p>
12 <div id="elm" style="-webkit-columns:4; columns:4; orphans:1; widows:1; width:16em; line-height:4em; background:blue;">
13     <br>
14     <br>
15     <br>
16     <br>
17 </div>