| Index: LayoutTests/svg/animations/script-tests/svgnumber-animation-2.js
|
| diff --git a/LayoutTests/svg/animations/script-tests/svgnumber-animation-2.js b/LayoutTests/svg/animations/script-tests/svgnumber-animation-2.js
|
| index eb81a668d6b041ded3fd898811ff118cb6d86599..e237861cde36c449a40cc7036a265661b1c2a162 100644
|
| --- a/LayoutTests/svg/animations/script-tests/svgnumber-animation-2.js
|
| +++ b/LayoutTests/svg/animations/script-tests/svgnumber-animation-2.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() {
|
|
|