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

Unified Diff: LayoutTests/css3/flexbox/vertical-align-do-not-effect-flex-items-expected.html

Issue 561193003: New Test for 'vertical-align has no effect on a flex item' (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Minor correction: s/grid/flexbox Created 6 years, 2 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/css3/flexbox/vertical-align-do-not-effect-flex-items.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/css3/flexbox/vertical-align-do-not-effect-flex-items-expected.html
diff --git a/LayoutTests/css3/flexbox/vertical-align-do-not-effect-flex-items-expected.html b/LayoutTests/css3/flexbox/vertical-align-do-not-effect-flex-items-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..32a6be89b630a2279b12408f7b1a9749fae54800
--- /dev/null
+++ b/LayoutTests/css3/flexbox/vertical-align-do-not-effect-flex-items-expected.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<link href='resources/flexbox.css' rel='stylesheet'>
+
+<style>
+.flexbox {
+ background-color: lightgrey;
+}
+</style>
+
+<p>This test checks that vertical-align should have no effect on a flex item
+i.e flex items' content should not be shifted by the vertical-align</p>
+
+<div class='flexbox'>
+ <!-- flex item: block child -->
+ <div>block</div>
+ <!-- flex item: anonymous block box around inline content -->
+ anonymous item 2
+ <!-- flex item: inline child -->
+ <span>item 3</span>
+</div>
« no previous file with comments | « LayoutTests/css3/flexbox/vertical-align-do-not-effect-flex-items.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698