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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/csswg-test/vendor-imports/mozilla/mozilla-central-reftests/flexbox/flexbox-align-self-baseline-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 for behavior of the 'baseline' value for align-items (and
7 align-self, implicitly). This test baseline-aligns various types of
8 content, and the flexbox's vertical size depends on the aggregate
9 post-alignment height of its children.
10 -->
11 <html xmlns="http://www.w3.org/1999/xhtml">
12 <head>
13 <title>CSS Test: Baseline alignment of block flex items with 'baseline' valu e for 'align-items' / 'align-self'</title>
14 <link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com" />
15 <link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#baseline-particip ation"/>
16 <link rel="match" href="flexbox-align-self-baseline-horiz-001-ref.xhtml"/>
17 <style>
18 .flexbox {
19 display: flex;
20 align-items: baseline;
21 border: 1px dashed blue;
22 font: 14px sans-serif;
23 }
24
25 .big {
26 height: 100px;
27 font: 24px sans-serif;
28 margin-top: 20px;
29 }
30 .super {
31 vertical-align: super;
32 font-size: 12px;
33 }
34 .sub {
35 vertical-align: sub;
36 font-size: 12px;
37 }
38
39 .lime { background: lime; }
40 .yellow { background: yellow; }
41 .orange { background: orange; }
42 .pink { background: pink; }
43 .aqua { background: aqua; }
44 .tan { background: tan; }
45 </style>
46 </head>
47 <body>
48 <div class="flexbox">
49 <div class="lime">blk_1line</div>
50 <div class="yellow">blk<br/>2lines</div>
51 <div class="orange"><span class="super">super</span></div>
52 <div class="pink"><span class="sub">sub</span></div>
53 <div class="aqua big">big<br/>text<br/>3lines</div>
54 <i class="tan">ital<br/>ic</i>
55 </div>
56 </body>
57 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698