| Index: LayoutTests/svg/dynamic-updates/script-tests/SVGPolygonElement-svgdom-requiredFeatures.js
|
| diff --git a/LayoutTests/svg/dynamic-updates/script-tests/SVGPolygonElement-svgdom-requiredFeatures.js b/LayoutTests/svg/dynamic-updates/script-tests/SVGPolygonElement-svgdom-requiredFeatures.js
|
| index b27cbdf3b9a89c217122c8739995945cb7e8b442..63ffc7356bb098f4788c4cd652311ff8218a4b25 100644
|
| --- a/LayoutTests/svg/dynamic-updates/script-tests/SVGPolygonElement-svgdom-requiredFeatures.js
|
| +++ b/LayoutTests/svg/dynamic-updates/script-tests/SVGPolygonElement-svgdom-requiredFeatures.js
|
| @@ -12,7 +12,7 @@ function repaintTest() {
|
| debug("Check that SVGPolygonElement is initially displayed");
|
| shouldBeEqualToString("document.defaultView.getComputedStyle(polygonElement, null).display", "inline");
|
| debug("Check that setting requiredFeatures to something invalid makes it not render");
|
| - polygonElement.requiredFeatures.appendItem("foo");
|
| + polygonElement.requiredFeatures.appendItem("http://www.w3.org/TR/SVG11/feature#BogusFeature");
|
| shouldBeEqualToString("document.defaultView.getComputedStyle(polygonElement, null).display", "");
|
| debug("Check that setting requiredFeatures to something valid makes it render again");
|
| polygonElement.requiredFeatures.replaceItem("http://www.w3.org/TR/SVG11/feature#Shape", 0);
|
| @@ -21,7 +21,7 @@ function repaintTest() {
|
| polygonElement.requiredFeatures.appendItem("http://www.w3.org/TR/SVG11/feature#Gradient");
|
| shouldBeEqualToString("document.defaultView.getComputedStyle(polygonElement, null).display", "inline");
|
| debug("Check that adding something invalid to requiredFeatures makes it not render");
|
| - polygonElement.requiredFeatures.appendItem("foo");
|
| + polygonElement.requiredFeatures.appendItem("http://www.w3.org/TR/SVG11/feature#BogusFeature");
|
| shouldBeEqualToString("document.defaultView.getComputedStyle(polygonElement, null).display", "");
|
|
|
| completeTest();
|
|
|