| Index: LayoutTests/svg/animations/script-tests/svgnumber-animation-3.js
|
| diff --git a/LayoutTests/svg/animations/script-tests/svgnumber-animation-3.js b/LayoutTests/svg/animations/script-tests/svgnumber-animation-3.js
|
| index 6e142612ee740e013533471fce0e0f454a1b22a5..6b1d49d942ae729bce96f4b6e63da68b9f00c58c 100644
|
| --- a/LayoutTests/svg/animations/script-tests/svgnumber-animation-3.js
|
| +++ b/LayoutTests/svg/animations/script-tests/svgnumber-animation-3.js
|
| @@ -22,26 +22,18 @@ rect.appendChild(animate);
|
| rootSVGElement.appendChild(rect);
|
|
|
| // Setup animation test
|
| -function sample1() {
|
| +function sample() {
|
| // Check initial/end conditions
|
| - shouldBe("getComputedStyle(rect).getPropertyCSSValue('opacity').getFloatValue(CSSPrimitiveValue.CSS_NUMBER)", "0");
|
| -}
|
| -
|
| -function sample2() {
|
| - shouldBe("getComputedStyle(rect).getPropertyCSSValue('opacity').getFloatValue(CSSPrimitiveValue.CSS_NUMBER)", "0");
|
| -}
|
| -
|
| -function sample3() {
|
| - shouldBe("getComputedStyle(rect).getPropertyCSSValue('opacity').getFloatValue(CSSPrimitiveValue.CSS_NUMBER)", "0");
|
| + shouldBe("getComputedStyle(rect).opacity", "'0'");
|
| }
|
|
|
| function executeTest() {
|
| const expectedValues = [
|
| // [animationId, time, sampleCallback]
|
| - ["animation", 0.0, sample1],
|
| - ["animation", 2.0, sample2],
|
| - ["animation", 3.999, sample3],
|
| - ["animation", 4.001, sample1]
|
| + ["animation", 0.0, sample],
|
| + ["animation", 2.0, sample],
|
| + ["animation", 3.999, sample],
|
| + ["animation", 4.001, sample]
|
| ];
|
|
|
| runAnimationTest(expectedValues);
|
|
|