092.xhtml (574B)
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 text input to element in object</title> 5 <style type="text/css"> 6 object 7 {width:350px; 8 height:150px;} 9 </style> 10 </head> 11 <body onload="document.querySelector('input').select()"> 12 <p>Drag selected text to the blue box. Copy of selection should end up in the blue box once you drop it there.</p> 13 <p><input value="Drag me"/></p> 14 <p><object type="application/xhtml+xml" data="helper-drop-here-blue-box.xhtml">XHTML document</object></p> 15 </body> 16 </html>