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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/csswg-test/vendor-imports/mozilla/mozilla-central-reftests/flexbox/flexbox-baseline-multi-line-horiz-001-expected.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 <!-- Reference case, using inline-block instead of inline-flex, and with the
7 baseline-aligned items aligned using specific font-size / line-heights,
8 and with unaligned children taken out of baseline-alignment using
9 "vertical-align:top".
10 -->
11 <html>
12 <head>
13 <title>CSS Reftest Reference</title>
14 <link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com">
15 <meta charset="utf-8">
16 <style>
17 .flexContainer {
18 display: inline-block;
19 width: 40px;
20 height: 40px;
21 background: lightblue;
22 }
23 .flexContainer > * {
24 width: 20px;
25 display: inline-block;
26 }
27
28 .smallFont {
29 font-size: 8px;
30 line-height: 8px;
31 }
32 .medFont {
33 font-size: 12px;
34 line-height: 12px;
35 }
36 .bigFont {
37 font-size: 16px;
38 line-height: 16px;
39 }
40 .unaligned { vertical-align: top }
41 </style>
42 </head>
43 <body>
44 a
45 <!-- Flex containers with flex items that have a mix of baselines: -->
46 <div class="flexContainer medFont">
47 <div class="medFont">b</div><div class="bigFont unaligned">c</div>
48 </div>
49
50 <div class="flexContainer bigFont">
51 <div class="bigFont">f</div><div class="smallFont unaligned">g</div>
52 </div>
53
54 <!-- Flex container with second line baseline-aligned
55 (shouldn't make a difference) -->
56 <div class="flexContainer smallFont">
57 <div class="smallFont">j</div><div class="bigFont unaligned">k</div>
58 </div>
59 n
60
61 </body>
62 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698