Source code
Revision control
Copy as Markdown
Other Tools
<?xml version="1.0" encoding="utf-8"?>
<head>
<title>Reload during text input selection cross page drag and drop</title>
</head>
<body onload="document.querySelector('input').select()">
<p><input value="Drag me" ondragstart="event.dataTransfer.effectAllowed = 'copy';window.location = 'helper-drop-selection-here.xhtml'"/></p>
<p>Drag selected text. You should be redirected to the new page and be able to drop it there.</p>
</body>
</html>