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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/csswg-test/css-flexbox-1/css-flexbox-img-expand-evenly.html

Issue 2104493003: Import csswg-test@0589ea025a684e31742740ca3b599230bcc25e5d (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update TestExpectations, delete background Created 4 years, 5 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 <html> 2 <html>
3 <head> 3 <head>
4 <title>CSS Flexbox Test: Image Expansion</title> 4 <title>CSS Flexbox Test: Image Expansion</title>
5 <link rel="author" title="Eiji Kitamura" href="mailto:agektmr@gmail.com"> 5 <link rel="author" title="Eiji Kitamura" href="mailto:agektmr@gmail.com">
6 <!-- You must have at least one spec link, but may have as many as are cove red in the test. --> 6 <!-- You must have at least one spec link, but may have as many as are cover ed in the test. -->
7 <!-- Be sure to make the main testing area first in the order --> 7 <!-- Be sure to make the main testing area first in the order -->
8 <link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#propdef-flex-grow "> 8 <link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#propdef-flex-grow ">
9 <!-- The match link is only required if this is a reftest --> 9 <!-- The match link is only required if this is a reftest -->
10 <link rel="match" href="reference/css-flexbox-img-expand-evenly-ref.html"> 10 <link rel="match" href="reference/css-flexbox-img-expand-evenly-ref.html">
11 <meta name="flags" content=""> 11 <meta name="flags" content="">
12 <meta name="assert" content="3 rectangular images fill out border."> 12 <meta name="assert" content="3 rectangular images fill out border.">
13 <style type="text/css"> 13 <style type="text/css">
14 14
15 /* ADD STYLE BLOCK HERE (PREFERRABLE TO INLINE STYLES) */ 15 /* ADD STYLE BLOCK HERE (PREFERRABLE TO INLINE STYLES) */
16 div.flexbox { 16 div.flexbox {
17 height: 50px; 17 height: 50px;
18 width: 300px; 18 width: 300px;
19 border: 2px dotted black; 19 border: 2px dotted black;
20 display: flex; 20 display: flex;
21 } 21 }
22 img { 22 img {
23 width: 48px; 23 width: 48px;
24 flex-grow: 1; 24 flex-grow: 1;
25 background: purple; 25 background: purple;
26 border: 1px solid white; 26 border: 1px solid white;
27 } 27 }
28 28
29 </style> 29 </style>
30 </head> 30 </head>
31 <body> 31 <body>
32 <p>3 rectangular images fill out border.</p> 32 <p>3 rectangular images fill out border.</p>
33 33
34 <!-- PAGE CONTENT --> 34 <!-- PAGE CONTENT -->
35 <div class="flexbox"> 35 <div class="flexbox">
36 <img src="support/solidblue.png" /> 36 <img src="support/solidblue.png" />
37 <img src="support/solidblue.png" /> 37 <img src="support/solidblue.png" />
38 <img src="support/solidblue.png" /> 38 <img src="support/solidblue.png" />
39 </div> 39 </div>
40 40
41 </body> 41 </body>
42 </html> 42 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698