1<?xml version="1.0" encoding="utf-8"?>
2<html xmlns="http://www.w3.org/1999/xhtml">
3<head>
4<title>Selection drag and drop from password input to block element</title>
5<style type="text/css">
6div[ondragenter]
7  {width:300px;
8  height:100px;
9  margin-top:20px;
10  padding:10px;
11  color:white;
12  background-color:navy;}
13</style>
14</head>
15<body onload="document.querySelector('input').select()">
16<p>You should not be able to drag and drop selection from password field to the blue box.</p>
17<p><input type="password" value="FAIL"/></p>
18<div
19  ondragenter="event.preventDefault()"
20  ondragover="return false"
21  ondrop="document.querySelector('div').appendChild(document.createTextNode(event.dataTransfer.getData('text/plain')))"
22/>
23</body>
24</html>
25