Index: LayoutTests/animations/fill-mode.html |
diff --git a/LayoutTests/animations/fill-mode.html b/LayoutTests/animations/fill-mode.html |
index 233cde1d44b35cf2d481357ae21493ce7393675f..641deb03ad98715d6e8feeb42b7b5e004dd2be28 100644 |
--- a/LayoutTests/animations/fill-mode.html |
+++ b/LayoutTests/animations/fill-mode.html |
@@ -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 { |