Index: LayoutTests/animations/fill-mode-missing-from-to-keyframes.html |
diff --git a/LayoutTests/animations/fill-mode-missing-from-to-keyframes.html b/LayoutTests/animations/fill-mode-missing-from-to-keyframes.html |
index 81d1e35d1d513f06aca8ccdb8b4ed81ab39f49fe..512ba27f5a5fa0cd0efccc8bffdea56ca2ebff4f 100644 |
--- a/LayoutTests/animations/fill-mode-missing-from-to-keyframes.html |
+++ b/LayoutTests/animations/fill-mode-missing-from-to-keyframes.html |
@@ -120,7 +120,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 { |
@@ -138,7 +138,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 { |