Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(93)

Side by Side Diff: third_party/WebKit/LayoutTests/css3/flexbox/minimum-size-image.html

Issue 1639723003: [css-flexbox] Use correct aspect ratio for min-size: auto (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more tests & a bugfix Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2
3 <link href="resources/flexbox.css" rel="stylesheet">
4 <script src="../../resources/testharness.js"></script>
5 <script src="../../resources/testharnessreport.js"></script>
6 <script src="../../resources/check-layout-th.js"></script>
7
8 <body onload="checkLayout('.flexbox')">
9 <div id=log></div>
10
11 <div class="flexbox" style="width: 10px;" data-expected-width="10">
12 <!-- should use min(specified, content width) = 10px as minimum width,
13 which the image will shrink to due to default flex-shrink. -->
14 <img src="../images/resources/green-10.png" style="width: 100px;" data-expec ted-width="10">
15 </div>
16
17 <div class="flexbox" style="width: 10px;" data-expected-width="10">
18 <!-- should use min(transferred, content width) = 10px as minimum width,
19 which the image will shrink to due to default flex-shrink. -->
20 <img src="../images/resources/green-10.png" style="height: 100px;" data-expe cted-width="10">
21 </div>
22
23 <div class="flexbox column" style="height: 10px;" data-expected-height="10">
24 <!-- should use min(specified, content height) = 10px as minimum height,
25 which the image will shrink to due to default flex-shrink. -->
26 <img src="../images/resources/green-10.png" style="height: 100px;" data-expe cted-height="10">
27 </div>
28
29 <div class="flexbox column" style="height: 10px;" data-expected-height="10">
30 <!-- should use min(transferred, content height) = 10px as minimum height,
31 which the image will shrink to due to default flex-shrink. -->
32 <img src="../images/resources/green-10.png" style="width: 100px;" data-expec ted-height="10">
33 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698