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

Side by Side Diff: third_party/WebKit/LayoutTests/external/csswg-test/css-grid-1/grid-items/grid-inline-z-axis-ordering-overlapped-items-005.xht

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 PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/x html1/DTD/xhtml1-strict.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml">
3 <head>
4 <title>CSS Grid Layout Test: 'z-index' property controls the grid items stacking order within an inline grid</title>
5 <link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igal ia.com" />
6 <link rel="help" href="http://www.w3.org/TR/css-grid-1/#z-order" title=" 4.4. Z-axis Ordering: the z-index property" />
7 <link rel="match" href="../reference/grid-filled-blue-yellow-green-overl apped-100px-squares.xht" />
8 <meta name="flags" content="ahem" />
9 <style type="text/css"><![CDATA[
10 #inline-grid {
11 display: inline-grid;
12 font: 100px/1 Ahem;
13 grid-template-columns: 25px 25px 25px 25px;
14 grid-template-rows: 25px 25px 25px 25px;
15 }
16
17 #blue {
18 color: blue;
19 z-index: -5;
20 grid-column: 1;
21 grid-row: 1;
22 }
23
24 #yellow {
25 color: yellow;
26 z-index: -1;
27 grid-column: 2;
28 grid-row: 2;
29 }
30
31 #green {
32 color: green;
33 grid-column: 3;
34 grid-row: 3;
35 }
36 ]]></style>
37 </head>
38 <body>
39 <p>Test passes if there are 3 filled squares with the same size, and <st rong>green</strong> is overlapping <strong>yellow</strong> which is overlapping <strong>blue</strong>.</p>
40
41 <div id="inline-grid">
42 <div id="green">G</div>
43 <div id="yellow">Y</div>
44 <div id="blue">B</div>
45 </div>
46 </body>
47 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698