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

Unified Diff: third_party/WebKit/LayoutTests/css3/flexbox/css-properties.html

Issue 1583433002: [css-align] New CSS Value 'normal' for Content Alignment (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed layout tests failing. Created 4 years, 10 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 | third_party/WebKit/LayoutTests/css3/flexbox/css-properties-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 b43b9d5ea6aa3afcba0777a1e1116f9486200e51..bf9a95ff6af015f58d67d0fc6b7428dfb1195a19 100644
--- a/third_party/WebKit/LayoutTests/css3/flexbox/css-properties.html
+++ b/third_party/WebKit/LayoutTests/css3/flexbox/css-properties.html
@@ -53,8 +53,8 @@ shouldBeEqualToString('flexitem.style.order', '');
shouldBeEqualToString('flexbox.style.justifyContent', '');
-// The initial value is 'flex-start'.
-shouldBeEqualToString('window.getComputedStyle(flexbox, null).justifyContent', 'flex-start');
+// The initial value is 'normal'.
+shouldBeEqualToString('window.getComputedStyle(flexbox, null).justifyContent', 'normal');
flexbox.style.justifyContent = 'foo';
shouldBeEqualToString('flexbox.style.justifyContent', '');
@@ -77,7 +77,7 @@ shouldBeEqualToString('window.getComputedStyle(flexbox, null).justifyContent', '
flexbox.style.justifyContent = '';
shouldBeEqualToString('flexbox.style.justifyContent', '');
-shouldBeEqualToString('window.getComputedStyle(flexbox, null).justifyContent', 'flex-start');
+shouldBeEqualToString('window.getComputedStyle(flexbox, null).justifyContent', 'normal');
shouldBeEqualToString('flexbox.style.alignSelf', '');
// The initial value is 'auto', which will be resolved depending on parent's style (except for the 'document' element).
@@ -276,9 +276,9 @@ for (var i = 0; i < computedStyle.length; ++i) {
}
shouldBeFalse('foundFlexFlow');
-// The initial value is 'auto', which will be resolved to 'stretch' in case of flexbox containers.
+// The initial value is 'normal'.
shouldBeEqualToString('flexbox.style.alignContent', '');
-shouldBeEqualToString('window.getComputedStyle(flexbox, null).alignContent', 'stretch');
+shouldBeEqualToString('window.getComputedStyle(flexbox, null).alignContent', 'normal');
flexbox.style.alignContent = 'flex-start';
shouldBeEqualToString('flexbox.style.alignContent', 'flex-start');
@@ -306,11 +306,11 @@ shouldBeEqualToString('window.getComputedStyle(flexbox, null).alignContent', 'st
flexbox.style.alignContent = '';
shouldBeEqualToString('flexbox.style.alignContent', '');
-shouldBeEqualToString('window.getComputedStyle(flexbox, null).alignContent', 'stretch');
+shouldBeEqualToString('window.getComputedStyle(flexbox, null).alignContent', 'normal');
flexbox.style.alignContent = 'foo';
shouldBeEqualToString('flexbox.style.alignContent', '');
-shouldBeEqualToString('window.getComputedStyle(flexbox, null).alignContent', 'stretch');
+shouldBeEqualToString('window.getComputedStyle(flexbox, null).alignContent', 'normal');
</script>
</body>
</html>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/css3/flexbox/css-properties-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698