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

Side by Side Diff: LayoutTests/css3/flexbox/alignContent-applies-with-flexWrap-wrap-with-single-line.html

Issue 290823003: Chrome incorrectly honors "align-content" in "flex-wrap: wrap" flex containers that only have a sin… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Modified LayoutTests Created 6 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
« no previous file with comments | « no previous file | LayoutTests/css3/flexbox/alignContent-applies-with-flexWrap-wrap-with-single-line-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!doctype html>
2 <html>
3 <head>
4 <style>
5 .default {
6 display: flex;
7 flex-wrap: wrap;
8 position: relative;
9 height: 75px;
10 border: 1px solid red;
11 margin: 5px;
12 }
13
14 .verticalWriting {
15 display: flex;
16 flex-wrap: wrap;
17 position: relative;
18 width: 75px;
19 border: 1px solid red;
20 margin: 5px;
21 -webkit-writing-mode: vertical-lr;
22 }
23 </style>
24 <script src="../../resources/check-layout.js"></script>
25 </head>
26 <body onload="checkLayout('.default'); checkLayout('.verticalWriting'); ">
27 <p>Test for BUG=324178: Chrome incorrectly honors "align-content" in "flex-wrap: wrap" flex containers that only have a single line</p>
28 <div class="default" style="align-content: flex-start">
29 <div data-offset-y="0">This text should be at the top of it's container</div>
30 </div>
31 <div class="default" style="align-content: flex-end">
32 <div data-offset-y="0">This text should be at the top of it's container</div>
33 </div>
34 <div class="default" style="align-content: center">
35 <div data-offset-y="0">This text should be at the top of it's container</div>
36 </div>
37 <div class="default" style="align-content: space-between">
38 <div data-offset-y="0">This text should be at the top of it's container</div>
39 </div>
40 <div class="default" style="align-content: space-around">
41 <div data-offset-y="0">This text should be at the top of it's container</div>
42 </div>
43 <div class="default" style="align-content: stretch">
44 <div data-offset-y="0">This text should be at the top of it's container</div>
45 </div>
46 <div class="verticalWriting" style="align-content: flex-start">
47 <div data-offset-x="0">This text should be at the left of it's container</div>
48 </div>
49 <div class="verticalWriting" style="align-content: flex-end">
50 <div data-offset-x="0">This text should be at the left of it's container</div>
51 </div>
52 <div class="verticalWriting" style="align-content: center">
53 <div data-offset-x="0">This text should be at the left of it's container</div>
54 </div>
55 <div class="verticalWriting" style="align-content: space-between">
56 <div data-offset-x="0">This text should be at the left of it's container</div>
57 </div>
58 <div class="verticalWriting" style="align-content: space-around">
59 <div data-offset-x="0">This text should be at the left of it's container</div>
60 </div>
61 <div class="verticalWriting" style="align-content: stretch">
62 <div data-offset-x="0">This text should be at the left of it's container</div>
63 </div>
64 </body>
65 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/css3/flexbox/alignContent-applies-with-flexWrap-wrap-with-single-line-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698