Index: LayoutTests/svg/dynamic-updates/script-tests/SVGGElement-dom-requiredFeatures.js |
diff --git a/LayoutTests/svg/dynamic-updates/script-tests/SVGGElement-dom-requiredFeatures.js b/LayoutTests/svg/dynamic-updates/script-tests/SVGGElement-dom-requiredFeatures.js |
deleted file mode 100644 |
index 9ab11bc423b1e1e4ee06c7d068b75cc703807971..0000000000000000000000000000000000000000 |
--- a/LayoutTests/svg/dynamic-updates/script-tests/SVGGElement-dom-requiredFeatures.js |
+++ /dev/null |
@@ -1,31 +0,0 @@ |
-// [Name] SVGGElement-dom-requiredFeatures.js |
-// [Expected rendering result] a series of PASS messages |
- |
-createSVGTestCase(); |
- |
-var gElement = createSVGElement("g"); |
-var imageElement = createSVGElement("image"); |
-imageElement.setAttribute("width", "200"); |
-imageElement.setAttribute("height", "200"); |
- |
-gElement.appendChild(imageElement); |
-rootSVGElement.appendChild(gElement); |
- |
-function repaintTest() { |
- debug("Check that SVGGElement is initially displayed"); |
- shouldHaveBBox("gElement.firstElementChild", "200", "200"); |
- debug("Check that setting requiredFeatures to something invalid makes it not render"); |
- gElement.setAttribute("requiredFeatures", "http://www.w3.org/TR/SVG11/feature#BogusFeature"); |
- shouldHaveBBox("gElement.firstElementChild", "0", "0"); |
- debug("Check that setting requiredFeatures to something valid makes it render again"); |
- gElement.setAttribute("requiredFeatures", "http://www.w3.org/TR/SVG11/feature#Shape"); |
- shouldHaveBBox("gElement.firstElementChild", "200", "200"); |
- debug("Check that adding something valid to requiredFeatures keeps rendering the element"); |
- gElement.setAttribute("requiredFeatures", "http://www.w3.org/TR/SVG11/feature#Gradient"); |
- shouldHaveBBox("gElement.firstElementChild", "200", "200"); |
- debug("Check that adding something invalid to requiredFeatures makes it not render"); |
- gElement.setAttribute("requiredFeatures", "http://www.w3.org/TR/SVG11/feature#BogusFeature"); |
- shouldHaveBBox("gElement.firstElementChild", "0", "0"); |
-} |
- |
-var successfullyParsed = true; |