blob: 0fc803057da69b49214fe497c830c9b1c531e50d [file] [log] [blame]
<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) {
document.execCommand("SelectAll");
eventSender.mouseMoveTo(200, 200);
eventSender.mouseDown();
eventSender.mouseUp();
}
</script>
</svg>