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

Side by Side Diff: third_party/WebKit/LayoutTests/external/csswg-test/css-grid-1/grid-items/grid-layout-z-order-a.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: z order</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/#z-order">
7 <link rel="match" href="../reference/grid-layout-z-order-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 width: 150px;
20 background: #eee;
21 display: grid;
22 grid-template-columns: 50px 50px 50px;
23 color:white;
24 }
25 .a {
26 background: blue;
27 grid-row: 1;
28 grid-column: 1 / span 2;
29 z-index:10
30 }
31 .b {
32 background: yellow;
33 grid-row: 1;
34 grid-column: 2 / span 2;
35 z-index:1
36 }
37 </style>
38 </head>
39 <body>
40 <p id="caseTitle">The test passes if it has the same visual effect as refere nce.</p>
41 <div id="grid">
42 <div class="b">down</div>
43 <div class="a">up</div>
44 </div>
45 </body>
46 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698