| // [Name] SVGCircleElement-svgdom-r-prop.js |
| // [Expected rendering result] green circle - and a series of PASS messages |
| description("Tests dynamic updates of the 'r' property of the SVGCircleElement object") |
| var circleElement = createSVGElement("circle"); |
| circleElement.setAttribute("cx", "150"); |
| circleElement.setAttribute("cy", "150"); |
| circleElement.setAttribute("r", "1"); |
| circleElement.setAttribute("fill", "green"); |
| rootSVGElement.appendChild(circleElement); |
| shouldBe("circleElement.r.baseVal.value", "1"); |
| circleElement.r.baseVal.value = "150"; |
| shouldBe("circleElement.r.baseVal.value", "150"); |
| startTest(circleElement, 150, 150); |