Bug 1874684 - Part 37: Fix unified compilation. r=allstarschh
[gecko.git] / layout / reftests / flexbox / flexbox-empty-container-synthesized-baseline-001.html
blob5f58b18ecc452d53c7517079e871e4c79e6e95b3
1 <!DOCTYPE HTML>
2 <!--
3 Any copyright is dedicated to the Public Domain.
4 http://creativecommons.org/publicdomain/zero/1.0/
5 -->
6 <html><head>
7 <meta charset="utf-8">
8 <title>CSS Flexbox Test: Synthesized flex container baseline.</title>
9 <link rel="author" title="Mats Palmgren" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1313811">
10 <link rel="help" href="https://drafts.csswg.org/css-flexbox/#flex-baselines">
11 <link rel="match" href="flexbox-empty-container-synthesized-baseline-001.html">
12 <style type="text/css">
13 html,body {
14 color:black; background-color:white; font:16px/1 monospace; padding:0; margin:0;
16 .ib {
17 display: inline-block;
19 .if {
20 display: inline-flex;
22 .ib, .if {
23 border-style: solid;
24 border-width: 3px 1px 5px 1px;
25 padding: 7px 10px 3px 8px;
26 margin: 5px 3px 2px 1px;
28 </style>
30 </head><body>
32 <pre>Inline-level context:</pre>
33 Flexbox:<div class="if"></div>
34 Block:<div class="ib"></div>
36 <pre>Grid-level context:</pre>
37 <div style="display:inline-grid; grid-auto-flow:column; align-items:baseline; justify-items:start">
38 Flexbox:<div class="if"></div>
39 Block:<div class="ib" style="margin-bottom:0"></div>
40 </div>
42 <pre>Flexbox-level context:</pre>
43 <div style="display:inline-flex; align-items:baseline; justify-items:start">
44 Flexbox:<div class="if"></div>
45 Block:<div class="ib" style="margin-bottom:0"></div>
46 </div>
48 </body></html>