Index: LayoutTests/svg/animations/script-tests/svgnumber-animation-1.js |
diff --git a/LayoutTests/svg/animations/script-tests/svgnumber-animation-1.js b/LayoutTests/svg/animations/script-tests/svgnumber-animation-1.js |
index 6b91db659d863e1d8117c0d27e973cbcf973db9d..1a49f563b58719cccb4aff9a0b29673dbe220c21 100644 |
--- a/LayoutTests/svg/animations/script-tests/svgnumber-animation-1.js |
+++ b/LayoutTests/svg/animations/script-tests/svgnumber-animation-1.js |
@@ -24,15 +24,15 @@ rootSVGElement.appendChild(rect); |
// Setup animation test |
function sample1() { |
// Check initial/end conditions |
- shouldBeCloseEnough("getComputedStyle(rect).getPropertyCSSValue('opacity').getFloatValue(CSSPrimitiveValue.CSS_NUMBER)", "0"); |
+ shouldBeCloseEnough("parseFloat(getComputedStyle(rect).opacity)", "0"); |
} |
function sample2() { |
- shouldBeCloseEnough("getComputedStyle(rect).getPropertyCSSValue('opacity').getFloatValue(CSSPrimitiveValue.CSS_NUMBER)", "0.5"); |
+ shouldBeCloseEnough("parseFloat(getComputedStyle(rect).opacity)", "0.5"); |
} |
function sample3() { |
- shouldBeCloseEnough("getComputedStyle(rect).getPropertyCSSValue('opacity').getFloatValue(CSSPrimitiveValue.CSS_NUMBER)", "1"); |
+ shouldBeCloseEnough("parseFloat(getComputedStyle(rect).opacity)", "1"); |
} |
function executeTest() { |