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

Unified Diff: LayoutTests/css3/flexbox/flex-property-parsing.html

Issue 408683002: flex shorthand incorrectly accepting 1 auto 1 (i.e. flex-basis in the middle) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 5 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/flex-property-parsing-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/css3/flexbox/flex-property-parsing.html
diff --git a/LayoutTests/css3/flexbox/flex-property-parsing.html b/LayoutTests/css3/flexbox/flex-property-parsing.html
index 05ab071c2a846f26b1308b0292f873ea7c6c834d..a1cdef2dc1c712188e501ded2b7da3bad68e84e2 100644
--- a/LayoutTests/css3/flexbox/flex-property-parsing.html
+++ b/LayoutTests/css3/flexbox/flex-property-parsing.html
@@ -141,6 +141,10 @@ flexitem.style.webkitFlex = '1 3px 2'; // Invalid, return previous value.
shouldBeEqualToString('flexitem.style.webkitFlex', '1.75 2 3px');
shouldBeEqualToString('getComputedStyle(flexitem).webkitFlex', '1.75 2 3px');
+flexitem.style.webkitFlex = '1 auto 1'; // Invalid, return previous value.
+shouldBeEqualToString('flexitem.style.webkitFlex', '1.75 2 3px');
+shouldBeEqualToString('getComputedStyle(flexitem).webkitFlex', '1.75 2 3px');
+
flexitem.style.webkitFlex = '3px 1 2';
shouldBeEqualToString('flexitem.style.webkitFlex', '1 2 3px');
shouldBeEqualToString('getComputedStyle(flexitem).webkitFlex', '1 2 3px');
« no previous file with comments | « no previous file | LayoutTests/css3/flexbox/flex-property-parsing-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698