<!doctype html> | |
<html> | |
<head> | |
<title>Dropping selection onto dropzone with no padding</title> | |
</head> | |
<body> | |
<noscript><p>Enable JavaScript and reload</p></noscript> | |
<ol> | |
<li>Select some text in this sentence.</li> | |
<li dropzone="copy string:text/plain" ondrop="this.parentNode.getElementsByTagName('li')[2].textContent='PASS';">Drag the selection over this text and release it.</li> | |
<li>This text should change.</li> | |
</ol> | |
</body> | |
</html> |