testing/web-platform/tests/html/editing/dnd/selection/080.xhtml
author Andreas Pehrson <apehrson@mozilla.com>
Thu, 01 Dec 2022 13:21:38 +0000
changeset 644305 4ec5232d1c53adc904757703336402e02f10ee01
parent 388141 f95a678186b46649eee6cf8c6adbdf46c320f300
permissions -rw-r--r--
Bug 1803368 - Reinstate frame dropping. r=webrtc-reviewers,mjf The plumbing for this was broken in https://hg.mozilla.org/mozilla-central/rev/19f5dc65c5c2c5836b6ac78e6b7890d179fc820e Differential Revision: https://phabricator.services.mozilla.com/D163473

<?xml version="1.0" encoding="utf-8"?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Selection drag and drop from textarea to text input</title>
<style type="text/css">
input
  {width:300px;
  height:100px;
  margin-top:20px;}
textarea
  {height:1.5em;
  width:7em;}
</style>
</head>
<body onload="var t = document.querySelector('textarea');t.select();t.setSelectionRange(0,7)">
<p>Drag selected text to the input below. Selected text should be moved to the input once you drop it there.</p>
<p><textarea>Drag me</textarea></p>
<p><input placeholder="Drop selection here"/></p>
</body>
</html>