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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/csswg-test/vendor-imports/mozilla/mozilla-central-reftests/flexbox/flexbox-with-pseudo-elements-003-expected.html

Issue 1922043004: Import csswg-test@b2daa426addd5ccb8e9ce1c5d800f9d82603f1ec (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update W3CImportExpectations and make me owner for css-scoping-1 Created 4 years, 7 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
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <!-- 2 <!--
3 Any copyright is dedicated to the Public Domain. 3 Any copyright is dedicated to the Public Domain.
4 http://creativecommons.org/publicdomain/zero/1.0/ 4 http://creativecommons.org/publicdomain/zero/1.0/
5 --> 5 -->
6 <!-- Reference case where we've swapped in actual divs (fakeBefore/fakeAfter) 6 <!-- Reference case where we've swapped in actual divs (fakeBefore/fakeAfter)
7 for the testcase's ::before and ::after generated content. 7 for the testcase's ::before and ::after generated content.
8 8
9 fakeBefore div is always the first child; fakeAfter is always the last. 9 fakeBefore div is always the first child; fakeAfter is always the last.
10 --> 10 -->
11 <html> 11 <html>
12 <head> 12 <head>
13 <title>CSS Reftest Reference</title> 13 <title>CSS Reftest Reference</title>
14 <link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com"> 14 <link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com">
15 <meta charset="utf-8"> 15 <meta charset="utf-8">
16 <style> 16 <style>
17 .flexContainer { 17 .flexContainer {
18 display: flex; 18 display: flex;
19 align-items: flex-end; 19 align-items: flex-end;
20 justify-content: space-between; 20 justify-content: space-between;
21 height: 50px; 21 height: 50px;
22 width: 300px; 22 width: 300px;
23 margin-bottom: 2px; 23 margin-bottom: 2px;
24 background: lightgray; 24 background: lightgray;
25 } 25 }
26 .fakeBefore { 26 .fakeBefore {
27 content: 'b'; 27 content: 'b';
28 background: yellow; 28 background: yellow;
29 align-self: center;
30 order: 1;
29 } 31 }
30 .fakeAfter { 32 .fakeAfter {
31 content: 'a'; 33 content: 'a';
32 background: lightblue; 34 background: lightblue;
35 align-self: center;
36 order: -1;
33 } 37 }
34 </style> 38 </style>
35 </head> 39 </head>
36 <body> 40 <body>
37 <div class="flexContainer"> 41 <div class="flexContainer">
38 <div class="fakeBefore">b</div> 42 <div class="fakeBefore">b</div>
39 x 43 x
40 <div>y</div> 44 <div>y</div>
41 z 45 z
42 </div> 46 </div>
43 <div class="flexContainer"> 47 <div class="flexContainer">
44 x 48 x
45 <div>y</div> 49 <div>y</div>
46 z 50 z
47 <div class="fakeAfter">a</div> 51 <div class="fakeAfter">a</div>
48 </div> 52 </div>
49 <div class="flexContainer"> 53 <div class="flexContainer">
50 <div class="fakeBefore">b</div> 54 <div class="fakeBefore">b</div>
51 x 55 x
52 <div>y</div> 56 <div>y</div>
53 z 57 z
54 <div class="fakeAfter">a</div> 58 <div class="fakeAfter">a</div>
55 </div> 59 </div>
56 </body> 60 </body>
57 </html> 61 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698