blob: bf7f19360c20ac0a26203afc7397b09335362e1f [file] [log] [blame]
<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"/>
<script>
function clickHandler(evt) {
evt.target.style.fill = "green";
if (window.testRunner)
testRunner.notifyDone();
}
function repaintTest() {
if (window.eventSender) {
testRunner.waitUntilDone();
eventSender.mouseMoveTo(50, 50);
eventSender.mouseDown();
eventSender.mouseUp();
}
}
</script>
<path onclick="clickHandler(evt)" fill="red" stroke="black" stroke-width="3" d="M 10 10 l 0 100 l 100 0 l 0 -100 M 120 10 l 0 100 l 100 0 l 0 -100"/>
<text x="10" y="150">There should be 2 green squares above this (when run under DumpRenderTree)</text>
</svg>