Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / animations / fill-mode.html
index 233cde1..641deb0 100644 (file)
@@ -74,7 +74,7 @@
         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 {
@@ -92,7 +92,7 @@
         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 {