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

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/css/css-grid-1/abspos/positioned-grid-items-012-ref.html

Issue 2665133003: [css-grid] Fix behavior of positioned items without specific dimensions (Closed)
Patch Set: Applied suggested changes Created 3 years, 7 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 <meta charset="utf-8">
3 <title>CSS Grid Layout Test: Positioned grid items reference file</title>
4 <link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
5 <style>
6 #grid {
7 display: grid;
8 grid: 150px 100px / 200px 300px;
9 justify-items: end;
10 align-items: start;
11 margin: 1px 2px 3px 4px;
12 padding: 20px 15px 10px 5px;
13 border-width: 9px 3px 12px 6px;
14 border-style: solid;
15 width: 550px;
16 height: 400px;
17 }
18
19 #grid > div {
20 margin-right: 5px;
21 }
22
23 #firstItem {
24 background: magenta;
25 }
26
27 #secondItem {
28 background: cyan;
29 }
30
31 #thirdItem {
32 background: yellow;
33 }
34
35 #fourthItem {
36 background: lime;
37 }
38 </style>
39
40 <p>The test passes if it has the same output than the reference.</p>
41
42 <div id="grid">
43 <div id="firstItem">First item</div>
44 <div id="secondItem">Second item</div>
45 <div id="thirdItem">Third item</div>
46 <div id="fourthItem">Fourth item</div>
47 </div>
48
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698