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

Unified Diff: LayoutTests/fast/css-grid-layout/vertical-align-do-not-effect-grid-items-expected.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/fast/css-grid-layout/vertical-align-do-not-effect-grid-items.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/css-grid-layout/vertical-align-do-not-effect-grid-items-expected.html
diff --git a/LayoutTests/fast/css-grid-layout/vertical-align-do-not-effect-grid-items-expected.html b/LayoutTests/fast/css-grid-layout/vertical-align-do-not-effect-grid-items-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..194d94f68563a3b00d05ebd594dc0c1c35788161
--- /dev/null
+++ b/LayoutTests/fast/css-grid-layout/vertical-align-do-not-effect-grid-items-expected.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<link href='resources/grid.css' rel='stylesheet'>
+
+<style>
+.grid {
+ background-color: lightgrey;
+}
+</style>
+
+<p>This test checks that vertical-align should have no effect on a grid item
+i.e grid items' content should not be shifted by the vertical-align</p>
+
+<div class='grid'>
+ <!-- grid item: block child -->
+ <div>block</div>
+ <!-- grid item: anonymous block box around inline content -->
+ anonymous item 2
+ <!-- grid item: inline child -->
+ <span>item 3</span>
+</div>
« no previous file with comments | « LayoutTests/fast/css-grid-layout/vertical-align-do-not-effect-grid-items.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698