Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / animations / fill-mode-missing-from-to-keyframes.html
index 81d1e35..512ba27 100644 (file)
         for (var i=0; i < expectedValues.length; i++) {
             var el = document.getElementById(expectedValues[i].id);
             var expectedValue = expectedValues[i].end;
-            var realValue = window.getComputedStyle(el).getPropertyCSSValue("left").getFloatValue(CSSPrimitiveValue.CSS_NUMBER);
+            var realValue = parseFloat(window.getComputedStyle(el).left);
             if (Math.abs(expectedValue - realValue) < allowance) {
               result += "PASS";
             } else {
         for (var i=0; i < expectedValues.length; i++) {
             var el = document.getElementById(expectedValues[i].id);
             var expectedValue = expectedValues[i].start;
-            var realValue = window.getComputedStyle(el).getPropertyCSSValue("left").getFloatValue(CSSPrimitiveValue.CSS_NUMBER);
+            var realValue = parseFloat(window.getComputedStyle(el).left);
             if (Math.abs(expectedValue - realValue) < allowance) {
               result += "PASS";
             } else {