Regression(r188105): Seems to have caused crashes during PLT on some iPads
[WebKit-https.git] / LayoutTests / fast / css / fixed-width-intrinsic-width-excludes-scrollbars.html
1 <!DOCTYPE html>
2 <style>
3 .container {
4     display: -webkit-flex;
5     display: -moz-flex;
6     display: -ie-flex;
7     display: -o-flex;
8     display: flex;
9 }
10 .container > div {
11     overflow: scroll;
12     width: 50px;
13     height: 50px;
14 }
15 </style>
16
17 <div class="container" style="display: -webkit-flex">
18     <div></div>
19     <div style="display:-webkit-flex;"></div>
20     <div style="display:-webkit-box;"></div>
21 </div>
22
23 <script src="../../resources/check-layout.js"></script>
24 <script>
25 Array.prototype.forEach.call(document.querySelectorAll('.container > div'), function(item) {
26     item.setAttribute('data-expected-width', 50);
27     item.setAttribute('data-expected-height', 50);
28 });
29 checkLayout('.container');
30 </script>