Test Formats
Alignment Text
Indent Text
HTML Forms and Widgets
List
Tag
Table

Test Cases (from bugs)


Text Formats

This sentence is bold.

This sentence is italicized.

This sentence is underlined.

This sentence uses strikethrough.

This sentence has the words sentence in superscript.

This sentence has the word sentence in subscript.

This is a Heading 1.

This is a Heading 2.

This is a Heading 3.

This is a Heading 4.

This is a Heading 5.
This is a Heading 6.
This sentence is in Arial font.

1This sentence is in Comic Sans MSl font.
2This sentence is in Courier New Font.
3This sentence is in Garamondl font.
4This sentence is in Impact font.
5This sentence is in Lucida Console font.
6This sentence is in Sydnie font.
7This sentence is in Tahoma font.
8This sentence is in Times New Roman font.

9This sentence is in font size 18 on a PC or font size +2.
aThis sentence is in font size 10 on a PC.

bThis sentence is green.

cThis sentence is in address format.
dThis sentence is blinking.
eThis sentence contains preformatted plain text.


Alignment

From Shakespeare's Hamlet

I have of late but
wherefore I know not lost all my mirth,
forgone all custom of exercises;
and indeed, it goes so heavily with
my disposition that this goodly frame,
the earth, seems to me a sterile promontory;
this most excellent canopy, the air, look you,
this brave o'erhanging firmament,
this majestical roof fretted with golden fire
why, it appeareth no other thing to me than a foul
and pestilent congregation of vapours.
What a piece of work is a man!
how noble in reason! how infinite in faculties!
in form and moving how express and admirable!
in action how like an angel!
in apprehension how like a god!
the beauty of the world, the paragon of animals!

I have of late but
wherefore I know not lost all my mirth,
forgone all custom of exercises;
and indeed, it goes so heavily with
my disposition that this goodly frame,
the earth, seems to me a sterile promontory;
this most excellent canopy, the air, look you,
this brave o'erhanging firmament,
this majestical roof fretted with golden fire
why, it appeareth no other thing to me than a foul
and pestilent congregation of vapours.
What a piece of work is a man!
how noble in reason! how infinite in faculties!
in form and moving how express and admirable!
in action how like an angel!
in apprehension how like a god!
the beauty of the world, the paragon of animals!

I have of late but
wherefore I know not lost all my mirth,
forgone all custom of exercises;
and indeed, it goes so heavily with
my disposition that this goodly frame,
the earth, seems to me a sterile promontory;
this most excellent canopy, the air, look you,
this brave o'erhanging firmament,
this majestical roof fretted with golden fire
why, it appeareth no other thing to me than a foul
and pestilent congregation of vapours.
What a piece of work is a man!
how noble in reason! how infinite in faculties!
in form and moving how express and admirable!
in action how like an angel!
in apprehension how like a god!
the beauty of the world, the paragon of animals!


Indent
    by Wislawa Szymborska - 1972
I am a tranquilizer.
I am effective at home,
I work well at the office,
I take exams,
I appear in court,
I carefully mend broken crockery -
all you need do is take me,
dissolve me under the tongue,
all you need do is swallow me,
just wash me down with water.

I know how to cope with misfortune,
how to endure bad news,
take the edge of injustice,
make up for the absence of God,
help pick out your widow's weeds.
What are you waiting for -
have faith in chemistry's compassion.

You're still a young man/woman,
you really should settle down somehow.
Who said
life must be lived courageously?

Hand your abyss over to me -
I will line it up with soft sleep,
you'll be grateful for
the four-footed landing.

Sell me your soul.
There's no other buyer likely to turn up.

There's no other devil left.


HTML Form and Widgets

Textfield :
Enter your Name: text field using default type=text

1. Enter your Address: text field using SIZE and MAXLENGTH

2. Enter your City: 3. Enter your State: 4. Enter your Country: text field using value

5. Enter your Zip: 

6. What happens when a fixed-width font(the default) is used for a one-byte text input area, let's try it.. Enter one character: 


 CheckBox:

What are your favorite pets?

bird
fish
wild animal


Radio Buttons:

Would type of wine do you like?

cabernet sauvignon
merlot
nebbiolo
pinot noir
don't drink wine

 Password Field:

Who are you?

Enter your Password:

Submit Buttons:

submit button using default "VALUE"

submit button using assigned "VALUE", no "NAME"

submit button using assigned "NAME" & "VALUE"


Form Multiline Text Areas:

Enter any Comments you have about this Web page following:

multiline text area with default WRAP=NO WRAP

multiline text area with WRAP=SOFT

multiline text area with WRAP=HARD


Pulldown menus:

Regular Pizza order? selection without "multiple" act as a pull-down menu

Gourmet Pizza order? selection with "multiple" act as a scrolling list
and has a pre-selected "option"

Extra Pizza Add-On order? selection with size=3 with/without "multiple" act as a scrolling list
and has a pre-selected "option"

Drink order?




List

Welcome to a list of lists
Lists are not only fun to make, they are fun to use. They help us:
  1. remember what the heck we are doing each day
  2. arrange long and arbitrary lines of text into ordered lists that are pleasing to the eye and suggest some sense of priority, even if it is artificial
  3. look really cool when we carry them around on yellow Post-Its tm.
  4. and that other thing I keep forgetting.
Your ordered lists can start at a strange number, like
  1. And use roman numerals,
  2. You might try using letters as well,
  3. Maybe you prefer Big Letters,
  4. or small roman numerals
  5. But discs belong to unordered lists
  6. Though you can set the value in a list item!
Unordered list :

Tag
Bold Tag with other Physical Character Style Tags.

Bold Tag with :


 Bold Tag with Content Character Style Tags
Bold Tag with :
Superscript Tag with other Physical Character Style Tags:

Superscript Tag with :


Superscript Tag with Content Character Style Tags
Superscript Tag with :
Table

10 
11  12 
13  14  15  16 
17 
18 
19  20 
21  22  23  24  25 
26  27 
28 
29  30  31  32  33  34  35  36  37  38 
A
a a b b
c c d d
hello there
D
G H I
A
a b
c d
C D
A a b
c d
C D


Table showing text flow:


This is text placed above the table and
Table Title
table head table head table head
cell 1 cell 2 cell 3
continuing below the table!!!

Table Border Tests
Table showing the default table BORDER=1 :
 
table head table head table head
cell 1 cell 2 cell 3


Tables showing different border values:
 
Table with BORDER=1
table head table head table head
cell 1 cell 2 cell 3
Table with BORDER=2
table head table head table head
cell 1 cell 2 cell 3
Table with BORDER=3
table head table head table head
cell 1 cell 2 cell 3
Table with BORDER=4
table head table head table head
cell 1 cell 2 cell 3
Table with BORDER=5
table head table head table head
cell 1 cell 2 cell 3
Table with BORDER=6
table head table head table head
cell 1 cell 2 cell 3

 
Table with BORDER=30
table head table head table head
cell 1 cell 2 cell 3


Table showing BORDER=0 :
 
table head table head table head
cell 1 cell 2 cell 3



 Table Cellpadding Test

Table with default cellpadding:
 
table head table head table head
cell 1 cell 2 cell 3

Tables with different cellpaddings:
 
Table with CELLPADDING=1
table head table head table head
cell 1 cell 2 cell 3
Table with CELLPADDING=2
table head table head table head
cell 1 cell 2 cell 3
Table with CELLPADDING=3
table head table head table head
cell 1 cell 2 cell 3
Table with CELLPADDING=4
table head table head table head
cell 1 cell 2 cell 3
Table with CELLPADDING=5
table head table head table head
cell 1 cell 2 cell 3
Table with CELLPADDING=10
table head table head table head
cell 1 cell 2 cell 3

 
Table with CELLPADDING=30
table head table head table head
cell 1 cell 2 cell 3



Table with cellpadding =0 :
 
table head table head table head
cell 1 cell 2 cell 3


Table Cellspacing Test
Table with default cellspacing:
 
table head table head table head
cell 1 cell 2 cell 3


Table with CELLSPACING=0 & a border:
 
table head table head table head table head table head
cell 1 cell 2 cell 3 cell 4 cell 5


Tables showing different cellspacing values:
 
Table with CELLSPACING=3
table head table head table head
cell 1 cell 2 cell 3
Table with CELLSPACING=4
table head table head table head
cell 1 cell 2 cell 3
Table with CELLSPACING=5
table head table head table head
cell 1 cell 2 cell 3
Table with CELLSPACING=8
table head table head table head
cell 1 cell 2 cell 3
Table with CELLSPACING=10
table head table head table head
cell 1 cell 2 cell 3

 
Table with CELLSPACING=30
table head table head table head
cell 1 cell 2 cell 3


 Tables Columnspan Test

Table Header Cells spanning multiple columns:

Table with data cells spanning multiple columns:
Table with nested header & data cells spanning multiple columns:

 Tables Rowspan Test




Nested Table Header Cells & Data Cells spanning multiple rows:
Tables Caption Test

Caption align to top of a table.

This is the Table1's Caption

Column2 Column3
Row1 Column1
Row1 Column2
Row1 Column3

join (R2 C1) and (R2 C2)
Row2 Column3
Row3
Row3 Column1
join (R3 C2) and (R4 C2)
Row3 Column3
Row4 Column1
Row4 Column3


Caption align to bottom of table


Table's caption on the bottom
gif Row1 Column3
Embedded table

2
3
4
5  6

Row3 Column2
Row3 Column3
Row5 Column1



Table Caption in the table



Row1 Column3
Row2 Column2
Radiobuttons in Group A


Embedded table Caption

2
3
4
5  6

Row3 Column2
Row3 Column3
Row5 Column1





Caption align to left of table

Table's Caption on the left
Row1 Column1 Row1 Column2 Row1 Column3
Row2 Column1 Row2 Column2 Row2 Column3


Caption align to right of table

Table's Caption on the right
Row1 Column1 Row1 Column2 Row1 Column3
Row2 Column1 Row2 Column2 Row2 Column3


Tables Nowrap Test

Table Header & Data Cell with Word Wrapping:
 
The NOWRAP attribute stops normal word wrapping that browsers automatically do to fill the allotted table cell space.  With the NOWRAP attribute, the browser assembles the contents of the cell onto a single line. 
The NOWRAP attribute stops normal word wrapping that browsers automatically do to fill the allotted table cell space.  With the NOWRAP attribute, the browser assembles the contents of the cell onto a single line. 


Table Header & Data Cell with NOWRAP:
 
The NOWRAP attribute stops normal word wrapping that browsers automatically do to fill the allotted table cell space.  With the NOWRAP attribute, the browser assembles the contents of the cell onto a single line. 
The NOWRAP attribute stops normal word wrapping that browsers automatically do to fill the allotted table cell space.  With the NOWRAP attribute, the browser assembles the contents of the cell onto a single line. 



Multiple <TBODY> in <TABLE>

body1,row1,col1 body1,row1,col2
body1,row2,col1 body1,row2,col2
body1,row3,col1 body1,row3,col2
body2,row1,col1
body2,row2,col1
body3,row1,col1 body3,row1,col2 body3,row1,col3
body3,row2,col1 body3,row2,col2 body3,row2,col3
body3,row3,col1 body3,row3,col2 body3,row3,col3
body3,row4,col1 body3,row4,col2 body3,row4,col3
body3,row5,col1 body3,row5,col2 body3,row5,col3


Headers are not in the same column and row as the data cell

Travel Expense Report

Meals Hotels Transport subtotals
San Jose



25-Aug-97 37.74 112.00 45.00
26-Aug-97 27.28 112.00 45.00
subtotals 65.02 224.00 90.00 379.02
Seattle



27-Aug-97 96.25 109.00 36.00
28-Aug-97 35.00 109.00 36.00
subtotals 131.25 218.00 72.00 421.25
Totals 196.27 442.00 162.00 800.27



Test Cases

Case 1: word wrap without BR (Bug)
***************************************

Description:
Press ctrl+right in following paragraph.
Actual Result: When caret stops at end of last word in line, press ctrl+right, caret doesn't move; press ctrl+right again, caret goes to beginning of first word in next line.
Expected Result: When caret stops at end of last word in line, press ctrl+right, caret goes to end of first word in next line.


Is there some bug that really bothers you? As well as reporting it, feel free to fix it. Fixing bugs in Mozilla is far easier than in many other applications, because you can fix bugs (such as those in our cross-platform front end, written in XUL, our XML-based User-interface Language, CSS and Javascript) using only the build you are running right now.


Case 2: word wrap with BR (Bug)
**********************************

Description:
Press ctrl+right in following lines.
Actual Result: Caret doesn't stop at end of the last word in line, but stops at beginning of next line.
Expected Result: Caret should stop at end of the last word in line and should not stop at beginning of next line.


line one
line two
line three


Case 3: word with different styles (It's OK)
********************************************

Description:
If there's no space, it should be considered as one word. ("cd" in "abcdef" is italic and bold)

abcdef abcdef abcdef


Case 4: next word with different styles (Bug)
**********************************************

Description:
Press ctrl+right in following line.
Actual Result: Caret doesn't stop at end of "def".


abc def ghi


Case 5: several white spaces between words (Bug)
***************************************************

Description:
Press ctrl+right in following line.
Actual Result: Caret stops serveral times between "abc" and "def".
Expected Result: There should be no stop at white space.

abc      def


Case 6:empty block "<b></b>" in word (Bug)
***********************************************

6.1. Description:
Check the html source, there's <b></b> between "c" and "d".
Caret should not stops after "c".


abcdef


6.2. Description: 5087972.
Check the html source, there's <b><i></i></b> between "c" and "d".
Caret should not stops after "c".


abcdef


Case 7: layout.word_select.stop_at_punctuation (Bug)
*****************************************************

Description:
set layout.word_select.stop_at_punctuation to true
Press ctrl+right in following line.
Actual Result: Caret doesn't stops between "-" and "p". (Press ctrl+left, you'll see the difference)


cross-platform cross-platform cross-platform


Case 8: text navigation after <HR>
************************************
8.1Description:
Use righ arrow go through the following text.
Expected Result: all the text should be navigated.
Actural Result: one line is skipped, caret goes to ^Line4.


Line1
Line2

Line3
Line4

8.2Description:
Use righ arrow go through the following text.
Expected Result: all the text should be navigated.
Actural Result: one line and a character are skipped, caret goes to L^ine4.


Line1
Line2


Line4(Line3 is empty BR)