2012-09-29 23:42:29 -07:00
|
|
|
<!--
|
|
|
|
Any copyright is dedicated to the Public Domain.
|
|
|
|
http://creativecommons.org/publicdomain/zero/1.0/
|
|
|
|
-->
|
|
|
|
<!-- Helper-file for reftest flexbox-resizeviewport-1.xhtml
|
|
|
|
I'm intentionally using quirks-mode (no doctype), so that
|
|
|
|
a 100% height will work. -->
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<style>
|
|
|
|
div.flexbox {
|
2012-10-15 12:42:43 -07:00
|
|
|
display: flex;
|
2012-09-29 23:42:29 -07:00
|
|
|
height: 100%;
|
|
|
|
border: 2px dashed black;
|
|
|
|
}
|
|
|
|
div.a {
|
2012-10-15 12:42:43 -07:00
|
|
|
flex: 1;
|
2012-09-29 23:42:29 -07:00
|
|
|
background: pink;
|
|
|
|
}
|
|
|
|
div.b {
|
2012-10-15 12:42:43 -07:00
|
|
|
flex: 1;
|
2012-09-29 23:42:29 -07:00
|
|
|
background: teal;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div class="flexbox">
|
|
|
|
<div class="a"></div><div class="b"></div>
|
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|