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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/csswg-test/vendor-imports/mozilla/mozilla-central-reftests/flexbox/flexbox-baseline-align-self-baseline-vert-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 unaligned children taken out of baseline-alignment with
8 "vertical-align:top".
9 -->
10 <html>
11 <head>
12 <title>CSS Reftest Reference</title>
13 <link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com">
14 <meta charset="utf-8">
15 <link rel="stylesheet" type="text/css" href="support/ahem.css" />
16 <style>
17 body {
18 margin: 0;
19 font: 20px Ahem;
20 line-height: 20px;
21 /* Baseline is 0.8em = 16px from top */
22 }
23 .flexContainer {
24 display: inline-block;
25 background: lightblue;
26 }
27 .hugeAndUnaligned {
28 font-size: 35px;
29 line-height: 35px;
30 vertical-align: top;
31 }
32 .smallFont {
33 font-size: 10px;
34 line-height: 10px;
35 /* Baseline is 0.8em = 8px from top */
36 }
37 * { vertical-align: top }
38 </style>
39 </head>
40 <body>
41 <div style="display: inline-block; margin-top: 12px">a</div>
42 <div class="flexContainer" style="margin-top: 20px">
43 <div class="smallFont">b</div><div>c</div><div class="hugeAndUnaligned">d</d iv>
44 </div>
45 <div class="flexContainer">
46 <div class="hugeAndUnaligned">e</div><div>f</div><div class="smallFont">g</d iv>
47 </div>
48 <div class="flexContainer">
49 <div class="hugeAndUnaligned">h</div><div class="smallFont">i</div><div>j</d iv>
50 </div>
51 </body>
52 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698