| Index: LayoutTests/svg/dynamic-updates/script-tests/SVGFESpotLightElement-dom-pointsAtX-attr.js
|
| diff --git a/LayoutTests/svg/dynamic-updates/script-tests/SVGFESpotLightElement-dom-pointsAtX-attr.js b/LayoutTests/svg/dynamic-updates/script-tests/SVGFESpotLightElement-dom-pointsAtX-attr.js
|
| index 88aa3fdcf9db846ae685ce5622e66a8d4b2468af..8fcc1431f1f5cf5c1e8a2af64a0ce6d6b6f51eb5 100644
|
| --- a/LayoutTests/svg/dynamic-updates/script-tests/SVGFESpotLightElement-dom-pointsAtX-attr.js
|
| +++ b/LayoutTests/svg/dynamic-updates/script-tests/SVGFESpotLightElement-dom-pointsAtX-attr.js
|
| @@ -5,11 +5,11 @@ description("Tests dynamic updates of the 'pointsAtX' attribute of the SVGFESpot
|
| createSVGTestCase();
|
|
|
| var spotLightElement = createSVGElement("feSpotLight");
|
| -spotLightElement.setAttribute("x", "113");
|
| -spotLightElement.setAttribute("y", "0");
|
| +spotLightElement.setAttribute("x", "83");
|
| +spotLightElement.setAttribute("y", "-30");
|
| spotLightElement.setAttribute("z", "100");
|
| -spotLightElement.setAttribute("pointsAtX", "0");
|
| -spotLightElement.setAttribute("pointsAtY", "100");
|
| +spotLightElement.setAttribute("pointsAtX", "-30");
|
| +spotLightElement.setAttribute("pointsAtY", "70");
|
| spotLightElement.setAttribute("pointsAtZ", "0");
|
| spotLightElement.setAttribute("specularExponent", "1");
|
| spotLightElement.setAttribute("limitingConeAngle", "15");
|
| @@ -38,11 +38,11 @@ rectElement.setAttribute("height", "200");
|
| rectElement.setAttribute("filter", "url(#myFilter)");
|
| rootSVGElement.appendChild(rectElement);
|
|
|
| -shouldBeEqualToString("spotLightElement.getAttribute('pointsAtX')", "0");
|
| +shouldBeEqualToString("spotLightElement.getAttribute('pointsAtX')", "-30");
|
|
|
| function repaintTest() {
|
| - spotLightElement.setAttribute("pointsAtX", "113");
|
| - shouldBeEqualToString("spotLightElement.getAttribute('pointsAtX')", "113");
|
| + spotLightElement.setAttribute("pointsAtX", "83");
|
| + shouldBeEqualToString("spotLightElement.getAttribute('pointsAtX')", "83");
|
|
|
| completeTest();
|
| }
|
|
|