Source code

Revision control

Copy as Markdown

Other Tools

<?xml version="1.0" encoding="utf-8"?>
<head>
<title>Scrolling during selection drag and drop to iframe</title>
<style type="text/css">
iframe
{width:350px;
height:150px;}
</style>
</head>
<body onload="window.getSelection().selectAllChildren(document.querySelector('p'))">
<p>Drag me</p>
<p><iframe src="helper-scroll-then-drop-input.xhtml">XHTML document</iframe></p>
</body>
</html>