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

Side by Side Diff: third_party/WebKit/LayoutTests/external/csswg-test/css-grid-1/grid-definition/grid-layout-auto-tracks.html

Issue 2670473003: [css-grid] Import W3C Test Suite (Closed)
Patch Set: Add comment about skipped tests Created 3 years, 10 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>
2 <html>
3 <head>
4 <title>CSS Grid Layout Test: auto tracks</title>
5 <link rel="author" title="Leo Deng" href="mailto:myst.dg@gmail.com">
6 <link rel="help" href="http://www.w3.org/TR/css-grid-1/#track-sizing">
7 <link rel="match" href="../reference/grid-layout-auto-tracks-ref.html">
8 <meta name="assert" content="the layout should behave the same as reference. ">
9 <style>
10 body {
11 margin: 0;
12 padding: 0;
13 }
14 #caseTitle {
15 margin: 10px;
16 height: 40px;
17 }
18 #grid {
19 height: auto;
20 width: 100px;
21 background: #eee;
22 display: grid;
23 grid-template-columns: 100px;
24 grid-template-rows: auto;
25 }
26 .a {
27 background: blue;
28 grid-column: 1;
29 grid-row: 1;
30 }
31 .b {
32 background: yellow;
33 grid-column: 2;
34 grid-row: 1;
35 }
36 .c {
37 background: pink;
38 grid-column: 1;
39 grid-row: 2;
40 }
41 </style>
42 </head>
43 <body>
44 <p id="caseTitle">The test passes if it has the same visual effect as refere nce.</p>
45 <div id="grid">
46 <div class="a">&nbsp;</div>
47 <div class="b"><div style="width:50px">&nbsp;</div></div>
48 <div class="c">&nbsp;</div>
49 </div>
50 </body>
51 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698