summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/editing/dnd/overlay/054.xhtml
blob: f46c325118079fb87ac961b0687c8d8c1da1ff22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?xml version="1.0" encoding="utf-8"?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Drag feedback for partly visible element: relative position</title>
<style type="text/css">
div
  {position:relative;
  top:-150px;
  left:-150px;
  height:200px;
  width:200px;
  background-color:navy;}
</style>
</head>
<body>
<div draggable="true" ondragstart="event.dataTransfer.effectAllowed = 'copy'"/>
<p>Try to drag blue box above. Feedback overlay should be square.</p>
</body>
</html>