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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/csswg-test/vendor-imports/mozilla/mozilla-central-reftests/flexbox/flexbox-overflow-vert-004.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 <!-- This testcase checks that we honor "flex-wrap" on a vertical
7 flex container that has "overflow:hidden". We use a large flex item,
8 large enough that it overflows the container in the cross axis, to be
9 sure that "overflow: hidden" is actually applying. -->
10 <html>
11 <head>
12 <title>CSS Test: Testing 'overflow' property on a vertical flex container, wit h 'flex-wrap: wrap'</title>
13 <link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com">
14 <link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#flex-wrap-property" >
15 <link rel="match" href="flexbox-overflow-vert-004-ref.html">
16 <style>
17 .flexContainer {
18 background: purple;
19 display: flex;
20 flex-direction: column;
21 flex-wrap: wrap;
22 width: 70px;
23 height: 70px;
24 margin-bottom: 5px;
25 }
26 .bigItem {
27 background: blue;
28 width: 200px;
29 height: 50px;
30 }
31 .smallItem {
32 background: teal;
33 width: 20px;
34 height: 50px;
35 }
36 .hidden { overflow: hidden }
37 </style>
38 </head>
39 <body>
40 <div class="flexContainer"><!-- (overflow un-set) -->
41 <div class="smallItem"></div>
42 <div class="bigItem"></div>
43 </div>
44 <div class="flexContainer hidden">
45 <div class="smallItem"></div>
46 <div class="bigItem"></div>
47 </div>
48 </body>
49 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698