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/csswg-test/css-grid-1/grid-items/grid-items-sizing-alignment-001.html

Issue 2722613003: [css-grid] "normal" alignment is "start" for replaced elements (Closed)
Patch Set: Applied suggested changes Created 3 years, 9 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: Grid Item Sizing</title>
4 <link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
5 <link rel="help" href="https://www.w3.org/TR/css-grid-1/#grid-item-sizing">
6 <link rel="match" href="grid-items-sizing-alignment-001-ref.html" />
7 <meta name="assert" content="Checks how alignment properties affect the size of the non-replaced vs replaced grid items.">
8 <style>
9 #grid {
10 display: grid;
11 grid-auto-rows: 200px;
12 grid-template-columns: repeat(3, 200px);
13 }
14 </style>
15
16 <p>Test passes if it has the same output than the reference.</p>
17
18 <div id="grid">
19 <button style="align-self: normal; justify-self: normal;">Stretched button (20 0x200)</button>
20 <button style="align-self: stretch; justify-self: stretch;">Stretched button ( 200x200)</button>
21 <button style="align-self: start; justify-self: start;">Regular button</button >
22 <img src="support/50x50-green.png" alt="Image download support must be enabled "
23 style="align-self: normal; justify-self: normal;" />
24 <img src="support/50x50-green.png" alt="Image download support must be enabled "
25 style="align-self: stretch; justify-self: stretch;" />
26 <img src="support/50x50-green.png" alt="Image download support must be enabled "
27 style="align-self: start; justify-self: start;" />
28 </div>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/external/csswg-test/css-grid-1/grid-items/grid-items-sizing-alignment-001-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698