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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/csswg-test/vendor-imports/mozilla/mozilla-central-reftests/flexbox/flexbox-justify-content-horiz-001a.xhtml

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 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Any copyright is dedicated to the Public Domain.
4 http://creativecommons.org/publicdomain/zero/1.0/
5 -->
6 <!-- Testcase with a series of horizontal flex containers, testing each
7 possible value of the 'justify-content' property. -->
8 <html xmlns="http://www.w3.org/1999/xhtml">
9 <head>
10 <title>CSS Test: Testing 'justify-content' in a horizontal flex container</t itle>
11 <link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com" />
12 <link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#justify-content-p roperty"/>
13 <link rel="match" href="flexbox-justify-content-horiz-001-ref.xhtml"/>
14 <style>
15 div.flexbox {
16 width: 200px;
17 display: flex;
18 margin-bottom: 2px;
19 }
20 div.a {
21 height: 20px;
22 flex: 0 10px;
23 background: lightgreen;
24 }
25 div.b {
26 height: 20px;
27 flex: 0 50px;
28 background: pink;
29 }
30 div.c {
31 height: 20px;
32 flex: 0 100px;
33 background: orange;
34 }
35 </style>
36 </head>
37 <body>
38
39 <!-- default (start) -->
40 <div class="flexbox">
41 <div class="a"/>
42 </div>
43 <div class="flexbox">
44 <div class="a"/><div class="b"></div>
45 </div>
46 <div class="flexbox">
47 <div class="a"/><div class="b"/><div class="c"/>
48 </div>
49
50 <!-- flex-start -->
51 <div class="flexbox" style="justify-content: flex-start">
52 <div class="a"/>
53 </div>
54 <div class="flexbox" style="justify-content: flex-start">
55 <div class="a"/><div class="b"/>
56 </div>
57 <div class="flexbox" style="justify-content: flex-start">
58 <div class="a"/><div class="b"/><div class="c"/>
59 </div>
60
61 <!-- flex-end -->
62 <div class="flexbox" style="justify-content: flex-end">
63 <div class="a"/>
64 </div>
65 <div class="flexbox" style="justify-content: flex-end">
66 <div class="a"/><div class="b"/>
67 </div>
68 <div class="flexbox" style="justify-content: flex-end">
69 <div class="a"/><div class="b"/><div class="c"/>
70 </div>
71
72 <!-- center -->
73 <div class="flexbox" style="justify-content: center">
74 <div class="a"/>
75 </div>
76 <div class="flexbox" style="justify-content: center">
77 <div class="a"/><div class="b"/>
78 </div>
79 <div class="flexbox" style="justify-content: center">
80 <div class="a"/><div class="b"/><div class="c"/>
81 </div>
82
83 <!-- space-between -->
84 <div class="flexbox" style="justify-content: space-between">
85 <div class="a"/>
86 </div>
87 <div class="flexbox" style="justify-content: space-between">
88 <div class="a"/><div class="b"/>
89 </div>
90 <div class="flexbox" style="justify-content: space-between">
91 <div class="a"/><div class="b"/><div class="c"/>
92 </div>
93
94 <!-- space-around -->
95 <div class="flexbox" style="justify-content: space-around">
96 <div class="a"/>
97 </div>
98 <div class="flexbox" style="justify-content: space-around">
99 <div class="a"/><div class="b"/>
100 </div>
101 <div class="flexbox" style="justify-content: space-around">
102 <div class="a"/><div class="b"/><div class="c"/>
103 </div>
104
105 </body>
106 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698