blob: fc0bd48b22ecd9f324c8d4a88905210e5997a5c0 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Basic//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-basic.dtd">
<svg version="1.1" baseProfile="basic" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="svg-root" width="100%" height="100%" onload="runTest()">
<script type="text/ecmascript"><![CDATA[
function testPanUp(y) {
eventSender.mouseMoveTo(50, 50);
eventSender.mouseDown(0, ['shiftKey']);
eventSender.mouseMoveTo(50, 50 - y);
eventSender.mouseUp();
}
function runTest() {
if (window.eventSender) {
testPanUp(30);
} else {
// in manual mode
alert("Please use run-webkit-tests.");
}
}
]]></script>
<rect x="-1000" y="-1000" width="5000" height="5000" fill="red" />
<rect x="50" y="50" width="20" height="20" fill="green" />
</svg>