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

Unified Diff: third_party/WebKit/LayoutTests/css3/flexbox/css-properties.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/css-properties.html
diff --git a/third_party/WebKit/LayoutTests/css3/flexbox/css-properties.html b/third_party/WebKit/LayoutTests/css3/flexbox/css-properties.html
index 344129f8a43d51fe3f52e1cd7376f7221a2d7737..b95bb5a14f55dec15088df2c3b7e19b67347aed1 100644
--- a/third_party/WebKit/LayoutTests/css3/flexbox/css-properties.html
+++ b/third_party/WebKit/LayoutTests/css3/flexbox/css-properties.html
@@ -75,6 +75,10 @@ flexbox.style.justifyContent = 'space-between';
shouldBeEqualToString('flexbox.style.justifyContent', 'space-between');
shouldBeEqualToString('window.getComputedStyle(flexbox, null).justifyContent', 'space-between');
+flexbox.style.justifyContent = 'space-evenly';
+shouldBeEqualToString('flexbox.style.justifyContent', 'space-evenly');
+shouldBeEqualToString('window.getComputedStyle(flexbox, null).justifyContent', 'space-evenly');
+
flexbox.style.justifyContent = '';
shouldBeEqualToString('flexbox.style.justifyContent', '');
shouldBeEqualToString('window.getComputedStyle(flexbox, null).justifyContent', 'normal');
@@ -301,6 +305,10 @@ flexbox.style.alignContent = 'space-around';
shouldBeEqualToString('flexbox.style.alignContent', 'space-around');
shouldBeEqualToString('window.getComputedStyle(flexbox, null).alignContent', 'space-around');
+flexbox.style.alignContent = 'space-evenly';
+shouldBeEqualToString('flexbox.style.alignContent', 'space-evenly');
+shouldBeEqualToString('window.getComputedStyle(flexbox, null).alignContent', 'space-evenly');
+
flexbox.style.alignContent = 'stretch';
shouldBeEqualToString('flexbox.style.alignContent', 'stretch');
shouldBeEqualToString('window.getComputedStyle(flexbox, null).alignContent', 'stretch');

Powered by Google App Engine
This is Rietveld 408576698