| Index: third_party/WebKit/LayoutTests/css3/flexbox/resize-min-content-flexbox.html
|
| diff --git a/third_party/WebKit/LayoutTests/css3/flexbox/resize-min-content-flexbox.html b/third_party/WebKit/LayoutTests/css3/flexbox/resize-min-content-flexbox.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..10ef1b3e83ce67d35b0ee649df75be1f9f013910
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/css3/flexbox/resize-min-content-flexbox.html
|
| @@ -0,0 +1,38 @@
|
| +<!DOCTYPE html>
|
| +
|
| +<link href="resources/flexbox.css" rel="stylesheet">
|
| +
|
| +<script src="../../resources/testharness.js"></script>
|
| +<script src="../../resources/testharnessreport.js"></script>
|
| +<script src="../../resources/check-layout-th.js"></script>
|
| +
|
| +<style>
|
| +body, html {
|
| + height: 100%;
|
| + margin: 0;
|
| +}
|
| +
|
| +.flexbox.column {
|
| + min-height: min-content;
|
| + background: green;
|
| + height: 100%;
|
| +}
|
| +
|
| +#content {
|
| + height: 1000px;
|
| + max-height: 100%;
|
| +}
|
| +</style>
|
| +
|
| +<div id="log"></div>
|
| +
|
| +<div class="flexbox column justify-content-center align-items-center" data-expected-height="100">
|
| + <div id="content" data-expected-height="100"></div>
|
| +</div>
|
| +
|
| +<script>
|
| + document.body.offsetHeight;
|
| + document.documentElement.style.height = '100px';
|
| +
|
| + checkLayout('.flexbox');
|
| +</script>
|
|
|