The Mozilla
Organization
At A Glance
Feedback
Get Involved
Newsgroups
License Terms
Newsbot
Developer Docs
Roadmap
Projects
Ports
Module Owners
Hacking
Get the Source
Build It
Testing
Download
Bugzilla
Bug Writing
Tools
View Source
Tree Status
New Checkins
Submit A Bug
FAQ
Search

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(s):

drag-select-text.html
Copyright © 1998-2000 The Mozilla Organization.
Last modified February 2, 2000.