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

Unified Diff: third_party/WebKit/LayoutTests/css3/flexbox/multiline-align-content-horizontal-column.html

Issue 2832503003: [css-flex] Implement the space-evenly content-distribution value (Closed)
Patch Set: Fixed layout tests. Created 3 years, 7 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
Index: third_party/WebKit/LayoutTests/css3/flexbox/multiline-align-content-horizontal-column.html
diff --git a/third_party/WebKit/LayoutTests/css3/flexbox/multiline-align-content-horizontal-column.html b/third_party/WebKit/LayoutTests/css3/flexbox/multiline-align-content-horizontal-column.html
index c6ff61855cf9480d020fa0e073cf43510186d3aa..c0d9cf8d1f1724b57f7bee7f53d7399c64705da7 100644
--- a/third_party/WebKit/LayoutTests/css3/flexbox/multiline-align-content-horizontal-column.html
+++ b/third_party/WebKit/LayoutTests/css3/flexbox/multiline-align-content-horizontal-column.html
@@ -47,6 +47,9 @@
.align-content-space-around {
align-content: space-around;
}
+.align-content-space-evenly {
+ align-content: space-evenly;
+}
.align-content-stretch {
align-content: stretch;
}
@@ -74,6 +77,7 @@ var expectations = {
'center': [200, 300],
'space-between': [0, 500],
'space-around': [100, 400],
+ 'space-evenly': [133, 367],
'stretch': [0, 300],
},
'wrap-reverse': {
@@ -82,6 +86,7 @@ var expectations = {
'center': [300, 200],
'space-between': [500, 0],
'space-around': [400, 100],
+ 'space-evenly': [367, 133],
'stretch': [300, 0],
},
},
@@ -92,6 +97,7 @@ var expectations = {
'center': [300, 200],
'space-between': [500, 0],
'space-around': [400, 100],
+ 'space-evenly': [367, 133],
'stretch': [300, 0],
},
'wrap-reverse': {
@@ -100,6 +106,7 @@ var expectations = {
'center': [200, 300],
'space-between': [0, 500],
'space-around': [100, 400],
+ 'space-evenly': [133, 367],
'stretch': [0, 300],
},
},
@@ -113,6 +120,7 @@ var expectations = {
'center': [200, 300],
'space-between': [0, 500],
'space-around': [100, 400],
+ 'space-evenly': [133, 367],
'stretch': [0, 300],
},
'wrap-reverse': {
@@ -121,6 +129,7 @@ var expectations = {
'center': [300, 200],
'space-between': [500, 0],
'space-around': [400, 100],
+ 'space-evenly': [367, 133],
'stretch': [300, 0],
},
},
@@ -131,6 +140,7 @@ var expectations = {
'center': [300, 200],
'space-between': [500, 0],
'space-around': [400, 100],
+ 'space-evenly': [367, 133],
'stretch': [300, 0],
},
'wrap-reverse': {
@@ -139,6 +149,7 @@ var expectations = {
'center': [200, 300],
'space-between': [0, 500],
'space-around': [100, 400],
+ 'space-evenly': [133, 367],
'stretch': [0, 300],
},
},
@@ -172,7 +183,7 @@ var writingModes = ['horizontal-tb'];
var flexDirections = ['column', 'column-reverse'];
var directions = ['ltr', 'rtl'];
var wraps = ['wrap', 'wrap-reverse'];
-var alignContents = ['flex-start', 'flex-end', 'center', 'space-between', 'space-around', 'stretch'];
+var alignContents = ['flex-start', 'flex-end', 'center', 'space-between', 'space-around', 'space-evenly', 'stretch'];
writingModes.forEach(function(writingMode) {
flexDirections.forEach(function(flexDirection) {

Powered by Google App Engine
This is Rietveld 408576698