You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.



You are here: Test Case Matrix for Selection > Test Case Description for drag-select-text

Test Case Description for drag-select-text

Purpose

Determine whether drag-selection of text works, both from dead space, and from within text.

Initial Conditions

View the below-linked document.

Steps/Description

[from white space to white space, vertically]

  1. Move the mouse pointer to the white space above "Hi!".
  2. Click and hold the mouse button, drag to the white space below the first line of text, and release the mouse pointer
  3. Clear the selection (e.g. click anywhere else within the document)

    [from white space to white space, horizontally]
  4. Move the mouse pointer to the immediate left of the word "Hi!"
  5. Click and hold the mouse button, drag to the last character on the line, and release the mouse pointer.
  6. Clear the selection (e.g. click anywhere else within the document)

    [from white space to text, with line breaks]
  7. Move the mouse pointer to the immediate left of the word "another" (in the second line of text)
  8. Click and hold the mouse button, dragging to the last character of the word "final" (in the 3rd line), and release the mouse pointer.

Expected Results

After step #2, the first line of text should be selected in its entirety.

After step #4, the first line of text should (again) be selected in its entirety.

After step #8, the middle of the second line (beginning with the entire word "another") should be selected, through the middle of the third line (ending with the entire word "final".)

Link

drag-select-text.html