summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/editing/dnd/platform/selection-from-ui.html
blob: a2a5d09f968275288c8160afe3bd441efd1fbdf5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!doctype html>
<html>
  <head>
    <title>Dragging text from UI widgets</title>
  </head>
  <body>

    <ol>
      <li>Select some text in the address bar.</li>
      <li>Drag the selection to the following textarea, and release it: <br><textarea rows="3" cols="50"></textarea></li>
      <li>Pass if:<ol>
        <li>A visible representation of the selected text appears to be dragged.</li>
        <li>The mouse cursor shows that the drop will be allowed over the textarea.</li>
        <li>The selected text appears in the textarea.</li>
      </ol></li>
      <li>Repeat the test with other UI text inputs, including ones that allow linebreaks (if any).</li>
    </ol>

  </body>
</html>