blob: 64e07c77d4595bcaaf1c8c2fba27555320ea9b85 [file] [log] [blame]
// [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")
createSVGTestCase();
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");
function executeTest() {
circleElement.r.baseVal.value = "150";
shouldBe("circleElement.r.baseVal.value", "150");
completeTest();
}
startTest(circleElement, 150, 150);
var successfullyParsed = true;