| Index: LayoutTests/css3/flexbox/percentage-height-in-abspos-expected.html
|
| diff --git a/LayoutTests/css3/flexbox/percentage-height-in-abspos-expected.html b/LayoutTests/css3/flexbox/percentage-height-in-abspos-expected.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..e96320e2d01b8496f407371c72f36b0c8e3138f3
|
| --- /dev/null
|
| +++ b/LayoutTests/css3/flexbox/percentage-height-in-abspos-expected.html
|
| @@ -0,0 +1,45 @@
|
| +<!DOCTYPE html>
|
| +<style>
|
| +body {
|
| + position: relative;
|
| + width: 800px;
|
| + height: 600px;
|
| +}
|
| +
|
| +div {
|
| + background-color: grey;
|
| +}
|
| +
|
| +#container {
|
| + background-color: red;
|
| + position: absolute;
|
| + top: 0;
|
| + bottom: 0;
|
| + left: 0;
|
| + right: 0;
|
| + display: flex;
|
| + flex-direction: column;
|
| +}
|
| +
|
| +#top-bar {
|
| + background-color: green;
|
| + height: 100px;
|
| +}
|
| +
|
| +#content {
|
| + background-color: blue;
|
| + height: 500px;
|
| +}
|
| +</style>
|
| +
|
| +
|
| +<div id="container">
|
| + <div id="top-bar">
|
| + Tests that percentage heights get resolved correctly when the flexbox is
|
| + </div>
|
| + <div id="content">
|
| + absolutely positioned without an explicit height.
|
| + </div>
|
| +</div>
|
| +
|
| +
|
|
|