| Index: third_party/WebKit/LayoutTests/css3/flexbox/bug527039.html
|
| diff --git a/third_party/WebKit/LayoutTests/css3/flexbox/bug527039.html b/third_party/WebKit/LayoutTests/css3/flexbox/bug527039.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..20a89406cd3959e062afd664e00f9e1977aaa5ef
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/css3/flexbox/bug527039.html
|
| @@ -0,0 +1,66 @@
|
| +<!DOCTYPE html>
|
| +<style>
|
| +body,
|
| +html {
|
| + height: 100%;
|
| +}
|
| +
|
| +.OuterFlexbox {
|
| + display: flex;
|
| + flex-direction: column;
|
| + height: 100%;
|
| +}
|
| +
|
| +.InnerFlexbox {
|
| + display: flex;
|
| + flex-direction: column;
|
| + max-height: 100%;
|
| + outline: 1px blue solid;
|
| +}
|
| +
|
| +.InnerFlexbox-body {
|
| + flex: 1 1 auto;
|
| + overflow-y: hidden;
|
| +}
|
| +</style>
|
| +
|
| +<script src="../../resources/testharness.js"></script>
|
| +<script src="../../resources/testharnessreport.js"></script>
|
| +<script src="../../resources/check-layout-th.js"></script>
|
| +
|
| +<body onload="update()">
|
| +
|
| +<div class="OuterFlexbox" data-expected-height="250">
|
| + <div class="InnerFlexbox" data-expected-height="250">
|
| + <div class="InnerFlexbox-body" data-expected-height="250">
|
| + <ul>
|
| + <li>Suspendisse eu nunc lectus. Curabitur.</li>
|
| + <li>Suspendisse eu nunc lectus. Curabitur.</li>
|
| + <li>Suspendisse eu nunc lectus. Curabitur.</li>
|
| + <li>Suspendisse eu nunc lectus. Curabitur.</li>
|
| + <li>Suspendisse eu nunc lectus. Curabitur.</li>
|
| + <li>Suspendisse eu nunc lectus. Curabitur.</li>
|
| + <li>Suspendisse eu nunc lectus. Curabitur.</li>
|
| + <li>Suspendisse eu nunc lectus. Curabitur.</li>
|
| + <li>Suspendisse eu nunc lectus. Curabitur.</li>
|
| + <li>Suspendisse eu nunc lectus. Curabitur.</li>
|
| + <li>Suspendisse eu nunc lectus. Curabitur.</li>
|
| + <li>Suspendisse eu nunc lectus. Curabitur.</li>
|
| + <li>Suspendisse eu nunc lectus. Curabitur.</li>
|
| + <li>Suspendisse eu nunc lectus. Curabitur.</li>
|
| + <li>Suspendisse eu nunc lectus. Curabitur.</li>
|
| + </ul>
|
| + </div>
|
| + </div>
|
| +</div>
|
| +
|
| +<script>
|
| +function update() {
|
| + document.body.offsetHeight;
|
| + document.body.style.height = '50px';
|
| + document.body.offsetHeight;
|
| + document.body.style.height = '250px';
|
| + document.body.offsetHeight;
|
| + checkLayout('.OuterFlexbox');
|
| +}
|
| +</script>
|
|
|