summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/editing/dnd/overlay/outside-viewport-001.html
blob: ecc7ebbf3b26b10736f9ffbb7b5b9c012642d614 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!DOCTYPe html>
<meta charset='utf-8'>
<title>drag and drop – feedback overlay of elements partly outside the viewport – 001</title>
<style>
a {
  display: block;
  height: 200px;
  width: 200px;
  background-color: blue;
  position: absolute;
  top: 10px;
  right: -100px;
}

p {
 margin-right: 200px;
}
</style>

<a href='#'></a>

<p>Drag the blue box on the right downwards. The drag placeholder should ideally be a blue square. It may optionally be a rectangle the same shape as the visible part of the blue box. No part of the UI should be dragged with the box.</p>