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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/csswg-test/vendor-imports/mozilla/mozilla-central-reftests/flexbox/flexbox-abspos-child-001a.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: Testing that "min-width", "max-width", "min-height", and "max -height" are applied on absolutely positioned children of a horizontal flex cont ainer</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/#abspos-items">
11 <link rel="match" href="flexbox-abspos-child-001-ref.html">
12 <meta charset="utf-8">
13 <style>
14 .flexContainer {
15 display: flex;
16 height: 10px;
17 width: 10px;
18 background: purple;
19 margin-bottom: 15px;
20 position: relative;
21 }
22 .absPos {
23 position: absolute;
24 background: teal;
25 }
26 .testMinWidth {
27 width: 10px;
28 height: 20px;
29 min-width: 20px;
30 }
31 .testMaxWidth {
32 width: 50px;
33 height: 20px;
34 max-width: 20px;
35 }
36 .testMinHeight {
37 width: 20px;
38 height: 10px;
39 min-height: 20px;
40 }
41 .testMaxHeight {
42 width: 20px;
43 height: 50px;
44 max-height: 20px;
45 }
46 </style>
47 </head>
48 <body>
49 <div class="flexContainer"><div class="absPos testMinWidth"></div></div>
50 <div class="flexContainer"><div class="absPos testMaxWidth"></div></div>
51 <div class="flexContainer"><div class="absPos testMinHeight"></div></div>
52 <div class="flexContainer"><div class="absPos testMaxHeight"></div></div>
53 </body>
54 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698