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