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

Side by Side Diff: LayoutTests/fast/css-grid-layout/vertical-align-do-not-effect-grid-items.html

Issue 543493004: New Test for 'vertical-align has no effect on a grid item' (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Removed float: + Added background colors Created 6 years, 3 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
« no previous file with comments | « no previous file | LayoutTests/fast/css-grid-layout/vertical-align-do-not-effect-grid-items-expected.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <link href='resources/grid.css' rel='stylesheet'>
3 <style>
4 .grid {
5 background-color: lightgrey;
6 }
7 #item1 {
8 vertical-align: 10px;
9 }
10 #item3 {
11 vertical-align: 30px;
12 }
13 </style>
14
15 <p>This test checks that vertical-align should have no effect on a grid item
16 i.e grid items' content should not be shifted by the vertical-align</p>
17
18 <div class='grid'>
19 <!-- grid item: block child -->
20 <div id='item1'>block</div>
21 <!-- grid item: anonymous block box around inline content -->
22 anonymous item 2
23 <!-- grid item: inline child -->
24 <span id='item3'>item 3</span>
25 </div>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/css-grid-layout/vertical-align-do-not-effect-grid-items-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698