haikuwebkit/LayoutTests/svg/custom/repaint-stroke-width-change...

12 lines
474 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" onload="runRepaintTest()">
<script xlink:href="../../fast/repaint/resources/repaint.js"/>
<rect x="20" y="20" width="440" height="320" stroke-width="20" fill="none" stroke="red"/>
<script>
function repaintTest() {
document.getElementsByTagName("rect")[0].setAttribute("stroke-width", 1);
}
</script>
</svg>