blob: 3621b3029b4db4fec3caa5608f52ef67000723bc [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html
xmlns="http://www.w3.org/1999/xhtml"
xmlns:svg="http://www.w3.org/2000/svg">
<head>
<script src="../../fast/repaint/resources/repaint.js"></script>
<script type="text/javascript">
function createSVGLength(e, value) {
var result = e.ownerSVGElement.createSVGLength();
result.value = value;
return result;
};
function repaintTest() {
var e = document.getElementById("ttt");
e.x.baseVal.initialize(createSVGLength(e, 200));
e.y.baseVal.initialize(createSVGLength(e, 20));
}
</script>
</head>
<body onload="runRepaintTest()">
<svg:svg
xmlns="http://www.w3.org/2000/svg"
version="1.1" baseProfile="full" width="800" height="600">
<text id="ttt" x="10" y="200">Passes, if text is at 200x20</text>
</svg:svg>
</body>
</html>