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 Copy/Paste > Test Case Description for copy-text-indented

Test Case Description for copy-text-indented

Purpose

Determine whether text copied from a formatted web page (such as within a table) has a "non-annoying" layout.

Initial Conditions

Launch a text editing program (e.g. SimpleText on Mac OS or WordPad on Windows)

Steps/Description

  1. View the attached link
  2. Select the entire content of the left-hand column (beginning with "The Mozilla Organization") and select "Copy" from the Edit menu.
  3. View the contents of the Clipboard.
  4. Select the entire content of the right-hand column (beginning with "Status Update"), and select "Copy" from the Edit menu.
  5. View the contents of the Clipboard.
  6. Select both columns together --- and the Copyright statement at the bottom of the page --- and select "Copy" from the Edit menu.
  7. View the contents of the Clipboard.
    ---

    To view the system Clipboard:
    Mac OS: Select "Show Clipboard" from the Finder.
    Windows: Select "Clipboard Viewer" from the Accessories subgroup of the Programs group.

Expected Results

In all three scenarios, the text should be copied and displayed in the clipboard with "non-annoying" formatting:

  • line breaks (<BR>) should be honored
  • table indentation should not affect the leftward position of the text
  • The leftmost column should be presented first in the clipboard, followed by the rightmost column and copyright statement.

(Otherwise, please use your best judgment; Internet Explorer 4.x+ is a good reference for a non-annoying implementation.)

Link(s)

copy-text-indented