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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/csswg-test/vendor-imports/mozilla/mozilla-central-reftests/flexbox/flexbox-with-pseudo-elements-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 where we've swapped in actual divs (fakeBefore/fakeAfter)
7 for the testcase's ::before and ::after generated content.
8
9 fakeBefore div is always the first child; fakeAfter is always the last.
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: flex;
19 align-items: flex-end;
20 justify-content: space-between;
21 height: 50px;
22 width: 300px;
23 margin-bottom: 2px;
24 background: lightgray;
25 }
26 .fakeBefore {
27 align-self: center;
28 content: 'b';
29 background: yellow;
30 }
31 .fakeAfter {
32 align-self: center;
33 content: 'a';
34 background: lightblue;
35 }
36 </style>
37 </head>
38 <body>
39 <div class="flexContainer">
40 <div class="fakeBefore">b</div>
41 x
42 <div>y</div>
43 z
44 </div>
45 <div class="flexContainer">
46 x
47 <div>y</div>
48 z
49 <div class="fakeAfter">a</div>
50 </div>
51 <div class="flexContainer">
52 <div class="fakeBefore">b</div>
53 x
54 <div>y</div>
55 z
56 <div class="fakeAfter">a</div>
57 </div>
58 </body>
59 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698