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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/csswg-test/vendor-imports/mozilla/mozilla-central-reftests/flexbox/flexbox-flex-wrap-vert-002.html

Issue 1705363002: Import Mozilla's flexbox tests from csswg-test (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add test expectations for mac-specific failures 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 Any copyright is dedicated to the Public Domain.
4 http://creativecommons.org/publicdomain/zero/1.0/
5 -->
6 <html>
7 <head>
8 <title>CSS Test: Ensure that min-height is honored for vertical multi-line fle x containers</title>
9 <link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com">
10 <link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#flex-wrap-property" >
11 <link rel="match" href="flexbox-flex-wrap-vert-002-ref.html">
12 <meta charset="utf-8">
13 <style>
14 div.flexbox {
15 display: flex;
16 flex-direction: column;
17 flex-wrap: wrap;
18 border: 1px dashed black;
19 width: 12px;
20 min-height: 100px;
21 margin-right: 2px;
22 float: left;
23 }
24 div.smallItem {
25 height: 30px;
26 border: 1px solid blue;
27 background: lightblue;
28 }
29 </style>
30 </head>
31 <body>
32
33 <!-- No flex items -->
34 <div class="flexbox">
35 </div>
36
37 <!-- Single small flex item -->
38 <div class="flexbox">
39 <div class="smallItem"></div>
40 </div>
41
42 <!-- Multiple flex items, larger than flex container's min-size: -->
43 <div class="flexbox">
44 <div class="smallItem"></div>
45 <div class="smallItem"></div>
46 <div class="smallItem"></div>
47 <div class="smallItem"></div>
48 <div class="smallItem"></div>
49 </div>
50
51 <!-- - ...and now with flex container constrained by both min and max-size -- >
52 <div class="flexbox" style="max-height: 120px">
53 <div class="smallItem"></div>
54 <div class="smallItem"></div>
55 <div class="smallItem"></div>
56 <div class="smallItem"></div>
57 <div class="smallItem"></div>
58 </div>
59
60 </body>
61 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698