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