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

Side by Side Diff: LayoutTests/css3/flexbox/columns-center-with-margins.html

Issue 15946003: Don't stretch margin: auto items in a vertical flexbox (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: added assert & renamed Created 7 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/css3/flexbox/columns-center-with-margins-expected.html » ('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 <link href="resources/flexbox.css" rel="stylesheet">
5 <style>
6 .flexbox {
7 border: 1px solid black;
8 width: 400px;
9 height: 200px;
10 }
11 .item1 {
12 margin: 0 auto;
13 background: lightblue;
14 }
15 .item1v {
16 margin: auto 0;
17 background: lightblue;
18 }
19 .item2 {
20 background: lime;
21 }
22 </style>
23 </head>
24 <body>
25 <div class="flexbox column">
26 <div class="item1">centeredWithMargins</div>
27 <div class="item2 align-self-center">centeredWithAlignSelf</div>
28 </div>
29 <div style="-webkit-writing-mode: vertical-lr;">
30 <div class="flexbox column">
31 <div class="item1v">centeredWithMargins</div>
32 <div class="item2 align-self-center">centeredWithAlignSelf</div>
33 </div>
34 </div>
35 </body>
36 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/css3/flexbox/columns-center-with-margins-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698