Index: LayoutTests/animations/fill-mode-iteration-count-non-integer.html |
diff --git a/LayoutTests/animations/fill-mode-iteration-count-non-integer.html b/LayoutTests/animations/fill-mode-iteration-count-non-integer.html |
index 6a4fa09478e5d8344ade28977fec450c343ee62c..64574066493a3d25f1f8f2dc609f62788b9ab898 100644 |
--- a/LayoutTests/animations/fill-mode-iteration-count-non-integer.html |
+++ b/LayoutTests/animations/fill-mode-iteration-count-non-integer.html |
@@ -90,7 +90,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); |
log(expectedValue, realValue, false, expectedValues[i].id); |
} |
document.getElementById('result').innerHTML = result; |
@@ -103,7 +103,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); |
log(expectedValue, realValue, true, expectedValues[i].id); |
} |
document.addEventListener("webkitAnimationEnd", animationEnded, false); |