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

Side by Side Diff: third_party/WebKit/LayoutTests/external/csswg-test/css-grid-1/grid-items/grid-items-002.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: Children of grid items do not create new it ems</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/#grid-items" titl e="4 Grid Items" />
7 <link rel="match" href="../../css21/reference/ref-filled-green-100px-squ are.xht" />
8 <meta name="flags" content="ahem" />
9 <meta name="assert" content="Checks that the grid items do not split aro und blocks creating extra items." />
10 <style type="text/css"><![CDATA[
11 #reference-overlapped-red {
12 position: absolute;
13 background-color: red;
14 width: 100px;
15 height: 100px;
16 z-index: -1;
17 }
18
19 .test-grid-overlapping-green {
20 display: grid;
21 font: 25px/1 Ahem;
22 color: green;
23 justify-content: start;
24 align-content: start;
25 }
26
27 .two-columns {
28 grid-template-columns: auto auto;
29 }
30 ]]></style>
31 </head>
32 <body>
33 <p>Test passes if there is a filled green square and <strong>no red</str ong>.</p>
34
35 <div id="reference-overlapped-red"></div>
36 <div class="test-grid-overlapping-green two-columns">
37 <div>
38 <div>it</div>
39 em
40 </div>
41 <div>
42 it
43 <div>em</div>
44 </div>
45 </div>
46 <div class="test-grid-overlapping-green">
47 <span>
48 <span>it</span>em
49 </span>
50 <span>
51 it<span>em</span>
52 </span>
53 </div>
54
55 </body>
56 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698