Wed, 31 Dec 2014 06:55:50 +0100
Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2
1 <!DOCTYPE html>
2 <!--
3 Any copyright is dedicated to the Public Domain.
4 http://creativecommons.org/publicdomain/zero/1.0/
5 -->
6 <html>
7 <head>
8 <title>CSS Test: Testing a horizontal flex container with box-sizing:border-box</title>
9 <link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com">
10 <meta charset="utf-8">
11 <style>
12 .container {
13 display: flex;
14 flex-direction: column;
15 width: 30px;
16 height: 110px;
17 border: 5px solid black;
18 box-sizing: border-box;
19 }
20 .itemA {
21 flex: 1 28px;
22 background: purple;
23 border: 1px solid indigo;
24 }
25 .itemB {
26 flex: 1 48px;
27 background: teal;
28 border: 1px solid lightblue;
29 }
30 </style>
31 </head>
32 <body>
33 <div class="container">
34 <div class="itemA"></div>
35 <div class="itemB"></div>
36 </div>
37 </body>
38 </html>