<?xml version="1.0" encoding="utf-8"?> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<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> |