Index: LayoutTests/svg/custom/SVGPaint-mutate-attribute.svg |
=================================================================== |
--- LayoutTests/svg/custom/SVGPaint-mutate-attribute.svg (revision 86165) |
+++ LayoutTests/svg/custom/SVGPaint-mutate-attribute.svg (working copy) |
@@ -1,25 +0,0 @@ |
-<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?> |
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"> |
-<svg xmlns="http://www.w3.org/2000/svg" onload="runTest()"> |
-<script> |
-function runTest() |
-{ |
- var rect1 = document.getElementsByTagName("rect")[0]; |
- rect1.getPresentationAttribute("fill").setRGBColor("blue"); |
- |
- var rect4 = document.createElementNS("http://www.w3.org/2000/svg", "rect"); |
- rect4.setAttribute("x", "330"); |
- rect4.setAttribute("y", "0"); |
- rect4.setAttribute("width", "100"); |
- rect4.setAttribute("height", "100"); |
- rect4.setAttribute("fill", "green"); |
- |
- document.getElementsByTagName("svg")[0].appendChild(rect4); |
-} |
-</script> |
- |
-<!-- Assure that the first rectangle, turns blue, and the others stay green! --> |
-<rect x="0" y="0" width="100" height="100" fill="green"/> |
-<rect x="110" y="0" width="100" height="100" fill="green"/> |
-<rect x="220" y="0" width="100" height="100" fill="green"/> |
-</svg> |