X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fthird_party%2FWebKit%2FLayoutTests%2Fcss3%2Fflexbox%2Fflex-property-parsing.html;h=a1cdef2dc1c712188e501ded2b7da3bad68e84e2;hb=4a1a0bdd01eef90b0826a0e761d3379d3715c10f;hp=d4e716e49fedfd85f98daf2447bd5fcec9e926ee;hpb=b1be5ca53587d23e7aeb77b26861fdc0a181ffd8;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/third_party/WebKit/LayoutTests/css3/flexbox/flex-property-parsing.html b/src/third_party/WebKit/LayoutTests/css3/flexbox/flex-property-parsing.html index d4e716e..a1cdef2 100644 --- a/src/third_party/WebKit/LayoutTests/css3/flexbox/flex-property-parsing.html +++ b/src/third_party/WebKit/LayoutTests/css3/flexbox/flex-property-parsing.html @@ -137,9 +137,13 @@ flexitem.style.webkitFlex = '1.75 2 3px'; shouldBeEqualToString('flexitem.style.webkitFlex', '1.75 2 3px'); shouldBeEqualToString('getComputedStyle(flexitem).webkitFlex', '1.75 2 3px'); -flexitem.style.webkitFlex = '1 3px 2'; -shouldBeEqualToString('flexitem.style.webkitFlex', '1 2 3px'); -shouldBeEqualToString('getComputedStyle(flexitem).webkitFlex', '1 2 3px'); +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'); @@ -161,9 +165,9 @@ flexitem.style.webkitFlex = '0px 0'; shouldBeEqualToString('flexitem.style.webkitFlex', '0 1 0px'); shouldBeEqualToString('getComputedStyle(flexitem).webkitFlex', '0 1 0px'); -flexitem.style.webkitFlex = '0 0px 0'; -shouldBeEqualToString('flexitem.style.webkitFlex', '0 0 0px'); -shouldBeEqualToString('getComputedStyle(flexitem).webkitFlex', '0 0 0px'); +flexitem.style.webkitFlex = '0 0px 0'; // Invalid, return previous value. +shouldBeEqualToString('flexitem.style.webkitFlex', '0 1 0px'); +shouldBeEqualToString('getComputedStyle(flexitem).webkitFlex', '0 1 0px'); flexitem.style.webkitFlex = 'none'; flexitem.style.webkitFlex = '1 2 3'; // Invalid, return previous value.