Index: third_party/WebKit/LayoutTests/css3/flexbox/flex-property-parsing.html |
diff --git a/third_party/WebKit/LayoutTests/css3/flexbox/flex-property-parsing.html b/third_party/WebKit/LayoutTests/css3/flexbox/flex-property-parsing.html |
index ddf5fca4e69b9df4f401ad8a346e7c22d5ff4231..3ddb4c78337392c0383aeaadb59529f0b8ac79ab 100644 |
--- a/third_party/WebKit/LayoutTests/css3/flexbox/flex-property-parsing.html |
+++ b/third_party/WebKit/LayoutTests/css3/flexbox/flex-property-parsing.html |
@@ -149,6 +149,14 @@ flexitem.style.flex = '3px 1 2'; |
shouldBeEqualToString('flexitem.style.flex', '1 2 3px'); |
shouldBeEqualToString('getComputedStyle(flexitem).flex', '1 2 3px'); |
+flexitem.style.flex = 'calc(20px + 40%) 4 3'; |
+shouldBeEqualToString('flexitem.style.flex', '4 3 calc(20px + 40%)'); |
+shouldBeEqualToString('getComputedStyle(flexitem).flex', '4 3 calc(20px + 40%)'); |
+ |
+flexitem.style.flex = '1 2 calc(10px + 50%)'; |
+shouldBeEqualToString('flexitem.style.flex', '1 2 calc(10px + 50%)'); |
+shouldBeEqualToString('getComputedStyle(flexitem).flex', '1 2 calc(10px + 50%)'); |
+ |
flexitem.style.flex = 'auto 0 0'; |
shouldBeEqualToString('flexitem.style.flex', '0 0 auto'); |
shouldBeEqualToString('getComputedStyle(flexitem).flex', '0 0 auto'); |