<svg xmlns="http://www.w3.org/2000/svg"> | |
<foreignObject x="100" y="100" width="500" height="300" style="overflow:hidden;"> | |
<div xmlns="http://www.w3.org/1999/xhtml" style="font: 40pt sans-serif" > | |
Select this text using the mouse, it should not disappear! | |
</div> | |
</foreignObject> | |
<script> | |
if (window.eventSender) { | |
eventSender.mouseMoveTo(200, 200); | |
eventSender.mouseDown(); | |
eventSender.mouseUp(); | |
} | |
</script> | |
</svg> |