summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/editing/dnd/interactive/plugins.html
blob: 7be5ec9397ae993600b6d0085fd4d15f65a38fb9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<!doctype html>
<html>
	<head>
		<title>drag and drop should not remove styling of plugin object elements</title>
		<style type="text/css">
div {
	border: 10px solid orange;
	background: yellow;
	padding: 10px;
	height: 140px;
	width: 140px;
}
object {
	border: 10px solid gray;
	background: fuchsia;
	padding: 10px;
	height: 100px;
	width: 100px;
}
		</style>
	</head>
	<body>

		<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>
		<div draggable="true" ondragstart="event.dataTransfer.setData('Text','dummy text');"><object data="../resources/boxnavy.swf"></object></div>

	</body>
</html>