summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/deprecated-flexbox/026.html
blob: bac8f6e044da5a07fe36fce346b49a3c9c5f26e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<style type="text/css">
  #file {
    display: -moz-box;
    display: -webkit-box;
    display: box;
    background-color: blue;
    width: 300px;
    height: 100px;
  }

  #but {
    -moz-box-flex: 2;
    -webkit-box-flex: 2;
    box-flex: 2;
    height: 100px;
    background-color: red;
    max-width: 400px;
    min-width: 400px;
  }

  #name {
    -moz-box-flex: 3;
    -webkit-box-flex: 3;
    box-flex: 3;
    height: 100px;
    background-color: green;
  }
</style>
<div id="file"><div id="but">Some text</div><div id="name">Some more text</div></div>