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

Feature Test Spec

5.0 Project (seamonkey)
Mail and News Component
HTML to Plain Text conversion

Written by: Peter Mock

History:
01021998        Created
02182000        Posted to mozilla.org

Reference: n/a



Description: the focus of these tests center on the accuracy of our conversion from HTML to Plain text.  The Intelligent Send functionality is covered in another test spec.

Basic Functionality
We will test the basic areas of conversion.  It is assumed that the default compose editor is HTML text
Start a html compose window.  Copy from a page composer window or attach a HTML page that contain one or more of the following HTML element.  Verify that the HTML to Plain Text conversion occurs.

(HTML 3.2 Tags to test)

  1. Head Element Properties
    1. Title Element
    2. Style Element
    3. Script Element
    4. Isindex Element
    5. Base Element
    6. Meta Element
    7. Link Element
  2. Body Properties
    1. Headings (H1 - H6)
    2. Address Elements
    3. Block level Elements
      1. Paragraphs
      2. Unordered lists
      3. Ordered (i.e numbered) lists
      4. Definition lists
      5. Preformatted text
      6. Document divisions
      7. Text Alignment
      8. Blockquote
      9. Fill-out forms
      10. Primitive HTML forms
      11. Horizontal rules
      12. Table can be nested
    4. Text level Elements
      1. Font sytle elements
      2. Phrase elements
      3. Form Fields
      4. The A (anchor) elements
      5. IMG - inline images
      6. APPLET (Java Applets)
      7. Fonts elements


(HTML 4.0 Tags to test)

  1. Language information
  2. Text direction
  3. Text
    1. White space
    2. Structured Text
    3. Quotations
    4. Lines and Paragraph
    5. INS and DEL elements (Marking document changes)
  4. Lists
    1. Unordered lists, ordered lists, and list items
    2. Definition lists
    3. DIR and MENU elements
  5. Tables
    1. Table Elements
    2. Table Caption Elements
    3. Row groups
    4. Columns groups
    5. Table rows
    6. Table cells
    7. Borders and rules
    8. Horizontal and vertical alignment
    9. Cell margins
    10. Categorizing cells
    11. Algorithm to find heading information
  6. Links
    1. Anchors and links
    2. Link titles
    3. The A Elements
    4. Anchors with the id attributes
    5. Document relationship: the LINK elements
    6. Forward and reverse links
    7. Path Information: the Base elements
    8. Resolving relative URL
  7. Objects, Images, and Applets
    1. The IMG element (including an image)
    2. The Object element (generic inclusion)
    3. The Param element (object initialization)
    4. The Applet element
    5. Image Maps
    6. Visual presentation of images, objects, and applets
      1. Width and height
      2. White space around images and objects
      3. Borders
      4. Alignment
    7. Alternate text
  8. Style Sheets
  9. Alignment, Font Style, and Horizontal Rules
    1. Formatting
      1. Background color
      2. Alignment
      3. Floating Objects
    2. Fonts
      1. Font Style Elements
        • TT element
        • I element
        • B element
        • BIG element
        • SMALL element
        • STRIKE element
        • S element
        • U element
      2. Font Modifier elements
        • Font
        • Basefont
      3. Rules
        • The HR element
  10. Frames
    1. Layout of frame
      1. The Frameset element
      2. The Frame element
    2. Alternate content
      1. The Noframe element
      2. Long description of frames
    3. Inline frame
      1. The Iframe element
  11. Forms
    1. Controls
      1. Control Types
        • buttons
        • checkboxes
        • radio buttons
        • menus
        • text input
        • file select
        • hidden controls
        • object controls
      2. Control Types with Input
        • text
        • password
        • checkbox
        • radio
        • submit
        • image
        • reset
        • button
        • hidden
        • file
    2. The Form element
    3. The Input element
    4. The Button element
    5. The Select, Optgroup, and Option element
    6. The Textarea element
    7. The Isindex element
    8. The Label element
    9. The Fieldset and Legent elements (adding structure to forms)
  12. Scripts
    1. The Script element
    2. The Noscript element

 
Copyright © 1998-2000 The Mozilla Organization.
Last modified February 21, 2000.