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