testing/web-platform/tests/html/editing/dnd/overlay/outside-viewport-005.html
author Iulian Moraru <imoraru@mozilla.com>
Sun, 29 Jan 2023 03:17:48 +0200
changeset 650907 6f4a1b340a8993d54fbbe853d17989b414a1c6d4
parent 203642 891ab4bd814a1a4b9b83fa6b40bceb8aa2e4e46a
permissions -rw-r--r--
Backed out 7 changesets (bug 1704500) for causing bc failures on browser_utility_geolocation_crashed.js. CLOSED TREE Backed out changeset afcc1e8b5ad7 (bug 1704500) Backed out changeset 1c27f9c36fda (bug 1704500) Backed out changeset c0f0a280aaea (bug 1704500) Backed out changeset 4be2d58ddf54 (bug 1704500) Backed out changeset 1386732459ce (bug 1704500) Backed out changeset 88e8015e1ec4 (bug 1704500) Backed out changeset d96e810e20ec (bug 1704500)

<!DOCTYPe html>
<meta charset='utf-8'>
<title>drag and drop – feedback overlay of elements partly outside the viewport – 005</title>
<style>
div {
  display: block;
  height: 200px;
  width: 200px;
  background-color: blue;
  position: absolute;
  top: 10px;
  right: -100px;
}

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

<div draggable="true" ondragstart="event.dataTransfer.effectAllowed ='copy'"></div>

<p>Drag the blue box on the right. 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>