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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-automatic-minimum-intrinsic-aspect-ratio-expected.html

Issue 1778853002: [css-grid] Fix height computation for items with intrinsic aspect ratios (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 <style>
4
5 .container {
6 border: 5px solid orange;
7 width: min-content;
8 }
9
10 .child { background-color: blue; }
11
12 </style>
13
14 <p>This test shows how min-width:auto is computed for items with intrinisc aspec t ratios</p>
15
16 <p>Check that width respects the intrinsic aspect ratio when specifying the heig ht</p>
17 <div class="container">
18 <div class="child" style="height: 25px; width: 50px;"></div>
Manuel Rego 2016/03/14 14:38:09 Nit: Maybe using a check-layout.js test is simpler
19 </div>
20
21 <div class="container">
22 <div class="child" style="height: 30px; width: 60px;"></div>
23 </div>
24
25 <div class="container">
26 <div class="child" style="height: 25px; width: 40px;"></div>
27 </div>
28
29 <div class="container">
30 <div class="child" style="height: 30px; width: 50px;"></div>
31 </div>
32
33
34 <p>Check that height respects the intrinsic aspect ratio when specifying the wid th</p>
35 <div class="container">
36 <div class="child" style="width: 50px; height: 25px;"></div>
37 </div>
38
39 <div class="container">
40 <div class="child" style="width: 60px; height: 30px;"></div>
41 </div>
42
43 <div class="container">
44 <div class="child" style="width: 120px; height: 60px;"></div>
45 </div>
46
47 <div class="container">
48 <div class="child" style="width: 80px; height: 40px;"></div>
49 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698