Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / fixed-width-intrinsic-width-excludes-scrollbars.html
blob84f587bcfa664d91cab38ab81c5a54457c203be8
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;
10 .container > div {
11 overflow: scroll;
12 width: 50px;
13 height: 50px;
15 </style>
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>
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>