plugins.html (741B)
1 <!doctype html> 2 <html> 3 <head> 4 <title>drag and drop should not remove styling of plugin object elements</title> 5 <style type="text/css"> 6 div { 7 border: 10px solid orange; 8 background: yellow; 9 padding: 10px; 10 height: 140px; 11 width: 140px; 12 } 13 object { 14 border: 10px solid gray; 15 background: fuchsia; 16 padding: 10px; 17 height: 100px; 18 width: 100px; 19 } 20 </style> 21 </head> 22 <body> 23 24 <p>Drag the following block by the orange border. The drag placeholder should contain all inner borders, but may optionally show white or pink instead of the navy square.</p> 25 <div draggable="true" ondragstart="event.dataTransfer.setData('Text','dummy text');"><object data="../resources/boxnavy.swf"></object></div> 26 27 </body> 28 </html>