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

Unified Diff: LayoutTests/css3/flexbox/vertical-align-do-not-effect-flex-items.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 | « no previous file | LayoutTests/css3/flexbox/vertical-align-do-not-effect-flex-items-expected.html » ('j') | 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.html
diff --git a/LayoutTests/fast/css-grid-layout/vertical-align-do-not-effect-grid-items.html b/LayoutTests/css3/flexbox/vertical-align-do-not-effect-flex-items.html
similarity index 50%
copy from LayoutTests/fast/css-grid-layout/vertical-align-do-not-effect-grid-items.html
copy to LayoutTests/css3/flexbox/vertical-align-do-not-effect-flex-items.html
index 3230a3a9f6b21f238acf9703f7553a2a6a00b3d6..e26054d7a02237a47b90b176958a3cb240ad2a56 100644
--- a/LayoutTests/fast/css-grid-layout/vertical-align-do-not-effect-grid-items.html
+++ b/LayoutTests/css3/flexbox/vertical-align-do-not-effect-flex-items.html
@@ -1,7 +1,8 @@
<!DOCTYPE html>
-<link href='resources/grid.css' rel='stylesheet'>
+<link href='resources/flexbox.css' rel='stylesheet'>
+
<style>
-.grid {
+.flexbox {
background-color: lightgrey;
}
#item1 {
@@ -12,14 +13,14 @@
}
</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>
+<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='grid'>
- <!-- grid item: block child -->
+<div class='flexbox'>
+ <!-- flex item: block child -->
<div id='item1'>block</div>
- <!-- grid item: anonymous block box around inline content -->
+ <!-- flex item: anonymous block box around inline content -->
anonymous item 2
- <!-- grid item: inline child -->
+ <!-- flex item: inline child -->
<span id='item3'>item 3</span>
</div>
« no previous file with comments | « no previous file | LayoutTests/css3/flexbox/vertical-align-do-not-effect-flex-items-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698