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

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/css/css-flexbox-1/align-items-006.html

Issue 2915773002: Reland of [css-align] Don't resolve 'auto' values for computed style. (Closed)
Patch Set: Applied suggested changes Created 3 years, 6 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 PUBLIC "-//W3C//DTD//XHTML 1.0 Strict//EN" "http://www.w3.org/TR/ xhtml1/DTD/xhtml1-strict.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml">
3 <head>
4 <title>CSS Test: A flex container with 'column' direction and 'align-ite ms' property set to 'flex-start'</title>
5 <link rel="author" title="Javier Fernandez Garcia-Boente" href="mailto:j fernandez@igalia.com">
6 <link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#align-items-p roperty" />
7 <link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#flex-directio n-property" />
8 <link rel="match" href="reference/align-content-001-ref.html" />
9 <meta name="assert" content="This test checks that 'align-items: flex-st art' implies the flex item's 'auto' width to be resolved as 'fit-content'." />
10 <style type="text/css">
11 .block {
12 position: absolute;
13 width: 300px;
14 height: 100px;
15 }
16 #flexbox
17 {
18 font: 50px/1 Ahem;
19 background: green;
20 flex-direction: column;
21 align-items: flex-start;
22 display: flex;
23 width: 300px;
24 height: 100px;
25 }
26 </style>
27 </head>
28 <body>
29 <p>Test passes if there is no red visible on the page.</p>
30 <div class="block">
31 <div style="width: 200px; height: 50px; background: green"></div>
32 </div>
33 <div id="flexbox">
34 <div style="background: red; color: red">XXXX</div>
35 </div>
36 </body>
37 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698