| Index: third_party/WebKit/LayoutTests/css3/flexbox/minimum-size-image.html
|
| diff --git a/third_party/WebKit/LayoutTests/css3/flexbox/minimum-size-image.html b/third_party/WebKit/LayoutTests/css3/flexbox/minimum-size-image.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..9a130431d07fd0be93a87592ef2518b5872108f4
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/css3/flexbox/minimum-size-image.html
|
| @@ -0,0 +1,33 @@
|
| +<!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>
|
| +
|
| +<body onload="checkLayout('.flexbox')">
|
| +<div id=log></div>
|
| +
|
| +<div class="flexbox" style="width: 10px;" data-expected-width="10">
|
| + <!-- should use min(specified, content width) = 10px as minimum width,
|
| + which the image will shrink to due to default flex-shrink. -->
|
| + <img src="../images/resources/green-10.png" style="width: 100px;" data-expected-width="10">
|
| +</div>
|
| +
|
| +<div class="flexbox" style="width: 10px;" data-expected-width="10">
|
| + <!-- should use min(transferred, content width) = 10px as minimum width,
|
| + which the image will shrink to due to default flex-shrink. -->
|
| + <img src="../images/resources/green-10.png" style="height: 100px;" data-expected-width="10">
|
| +</div>
|
| +
|
| +<div class="flexbox column" style="height: 10px;" data-expected-height="10">
|
| + <!-- should use min(specified, content height) = 10px as minimum height,
|
| + which the image will shrink to due to default flex-shrink. -->
|
| + <img src="../images/resources/green-10.png" style="height: 100px;" data-expected-height="10">
|
| +</div>
|
| +
|
| +<div class="flexbox column" style="height: 10px;" data-expected-height="10">
|
| + <!-- should use min(transferred, content height) = 10px as minimum height,
|
| + which the image will shrink to due to default flex-shrink. -->
|
| + <img src="../images/resources/green-10.png" style="width: 100px;" data-expected-height="10">
|
| +</div>
|
|
|