|
1 <!-- |
|
2 Any copyright is dedicated to the Public Domain. |
|
3 http://creativecommons.org/publicdomain/zero/1.0/ |
|
4 --> |
|
5 <!-- Helper-file for reftest flexbox-resizeviewport-1.xhtml |
|
6 I'm intentionally using quirks-mode (no doctype), so that |
|
7 a 100% height will work. --> |
|
8 <html> |
|
9 <head> |
|
10 <style> |
|
11 div.flexbox { |
|
12 display: flex; |
|
13 height: 100%; |
|
14 border: 2px dashed black; |
|
15 } |
|
16 div.a { |
|
17 flex: 1; |
|
18 background: pink; |
|
19 } |
|
20 div.b { |
|
21 flex: 1; |
|
22 background: teal; |
|
23 } |
|
24 </style> |
|
25 </head> |
|
26 <body> |
|
27 <div class="flexbox"> |
|
28 <div class="a"></div><div class="b"></div> |
|
29 </div> |
|
30 </body> |
|
31 </html> |