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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/csswg-test/vendor-imports/mozilla/mozilla-central-reftests/flexbox/flexbox-baseline-single-item-001b.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 <!-- Testcase for how we compute the baseline of a vertical flex container
7 with one flex item. This is the cross-axis baseline. The spec says this
8 about this case:
9 If the flex container has at least one flex item, and its
10 first flex item has a baseline parallel to the flex
11 container's cross axis, the flex container's cross-axis
12 baseline is that baseline.
13 -->
14 <html>
15 <head>
16 <title>CSS Test: Testing the baseline of a vertical flex container with one fl ex item</title>
17 <link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com">
18 <link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#flex-baselines">
19 <link rel="match" href="flexbox-baseline-single-item-001-ref.html">
20 <meta charset="utf-8">
21 <style>
22 .flexContainer {
23 display: inline-flex;
24 flex-direction: column;
25 height: 16px;
26 width: 16px;
27 background: purple;
28 border: 0px dotted black;
29 /* (Elements that want a border will set their border-width.) */
30 }
31 </style>
32 </head>
33 <body>
34 A
35 <div class="flexContainer">a</div>
36 <div class="flexContainer" style="padding-bottom: 20px">a</div>
37 <div class="flexContainer" style="padding: 10px">a</div>
38 <div class="flexContainer" style="border-width: 3px">a</div>
39 <div class="flexContainer" style="border-bottom-width: 4px">a</div>
40 </body>
41 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698