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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-item-overflow-expected.html

Issue 2523233002: [css-grid] Implied minimum size only applies if overflow is visible (Closed)
Patch Set: Apply suggested changes Created 4 years 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 <style>
3 .flex {
4 display: inline-flex;
5 border: thick solid;
6 height: 50px;
7 width: 50px;
8 margin: 50px;
9 }
10
11 .i1 {
12 color: cyan;
13 background: magenta;
14 font-size: 100px;
15 }
16
17 .auto { overflow: auto; }
18 .hidden { overflow: hidden; }
19 </style>
20
21 <p>This test checks that implied minimum size of grid items is only applied if o verflow is visible.</p>
22 <p>The test passes if in the first grid the item overflows, in the second one it has scrollbars,
23 and in the third one the item doesn't overflow but it doesn't have scrollbars.</ p>
24
25 <div class="flex" style="align-items: start;">
26 <div class="i1">X</div>
27 </div>
28
29 <div class="flex">
30 <div class="i1 auto">X</div>
31 </div>
32
33 <div class="flex">
34 <div class="i1 hidden">X</div>
35 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698