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.
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 :
Password Field:
Who are you?
List
Welcome to a list of lists
Lists are not only fun to make, they are fun to use. They help us:
- remember what the heck we are doing each day
- 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
- look really cool when we carry them around on yellow Post-Its
tm.
- and that other thing I keep forgetting.
Your ordered lists can start at a strange number, like
- And use roman numerals,
- You might try using letters as well,
- Maybe you prefer Big Letters,
- or small roman numerals
- But discs belong to unordered lists
- Though you can set the value
in a list item!
Unordered list :
- listing item
- first sublevel
- look for the bullet on
- each sublevel
- they should all be different, except here.
- second sublevel
- or you can specify a square
- if your TYPE is circle
- or even a disc
- Franz Liszt
- was a composer who was not square
- would have liked the Who
- feeling listless. TYPE=CIRCLE
- blah, blah, blah
(square)
- whine, whine, whine(disc)
Tag
Bold Tag with other Physical Character
Style Tags.
Bold Tag with :
- Big : This line
has both
Bold tag and the Big tag. (outside the Bold tag)
- Blink :
- Font : This
line has the Bold tag and the Font face tag set to "Courier"
,color=darkgreen
and size =-1.(outside the Bold tag)
- Italics : Text
that is both Bold and Italic. (outside the Bold tag)
- Small : This
line has both Bold tag and the Small tag; hence I should be smaller !! (outside
the Bold tag)
- Strikethrough :
I
should be Bold and Strikethroughed. (outside the Bold tag)
- Subscript : I'm
bold
and I have asubscript
- Superscript : I'm
bold too and I have a superscript
- Typewriter : This
line has the Bold tag and the Typewriter tag. (outside the Bold
tag)
- Underline : I'm
bold and I should be underlined. (outside the Bold tag)
Bold Tag with Content Character
Style
Tags
Bold Tag with :
- Cite : The
part after
the exclamation is in Cite Tags !!!! (Chitra, 1996) (outside
the Bold tag)
- Code :
#include
"main.h"(outside the Bold tag)
- Definition :
The word <Character
Styles> are surrounded by the definition tag.
- Emphasis : I
am
using the Bold and the Emphasis tag. (outside the Bold tag)
- Keyboard :
Inside
bold and keyboard tags. (outside the Bold tag)
- Sample :
Well
!! I'm using the bold and the sample Tag. (outside the Bold tag)
- Strong : I
have the
Bold and the Strong tags around me !!(outside the Bold tag)
- Variable : you_tell_me.
Yup !! the Bold and Variable tag. (outside the Bold tag)
Superscript Tag with other Physical
Character
Style Tags:
Superscript Tag with :
- Bold : This
line has
both Bold tag and the Superscript tag. (outside the
Superscript
tag)
- Big : This line has
both Big
tag andI'm the Superscript. (outside the Superscript tag)
- Blink :
- Font : This
line has the Superscript tag and the Font face tag set to
"Courier"
,color=darkgreen and size =-1.(outside the Superscript tag)
- Italics : Text
that
is Italic and has a Superscript.(outside the Superscript
tag)
- Small : This
line has both Superscript tag and the Small tag; hence I
should
be smaller !!(outside the Superscript tag)
- Strikethrough :
I
should have a Superscript and be Strikethroughed.(outside
the
Superscript tag)
- Subscript : I
have a
subscript and it has a Superscript
- Superscript : I
have
a superscript and it again has a SUPERSCRIPT
- Typewriter : This
line has the Superscript tag and the Typewriter tag. (outside
the Superscript tag)
- Underline : I'm
Superscript
and I should be underlined. (outside the Superscript tag)
Superscript Tag with Content Character
Style
Tags
Superscript Tag with :
- Cite : The
part after
the exclamation is in Cite Tags and is a Sup !!!! (Chitra,
1996) (outside the Superscript tag)
- Code : I have
a Superscript
#include "main.h"(outside the Superscript tag)
- Definition :
The word <Character
Styles> are surrounded by the definition tag and is a
Sup.
- Emphasis : I
am using
the Superscript and the Emphasis tag. (outside the
Superscript
tag)
- Keyboard :
I have
the Superscript and keyboard tags. (outside the
Superscript
tag)
- Sample :
Well !!
I'm using the Superscript and the sample Tag. (outside the
Superscript
tag)
- Strong : I
have the Superscript and the Strong tags !!(outside the
Superscript tag)
- Variable : you_tell_me.
Yup !! the Superscript and Variable tag. (outside the
Superscript
tag)
Table
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
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 |
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:
Header 1
span=2 cols |
Header 2
span=5 cols |
Header 3
span=10 cols |
row 1 |
row 1 |
row 1 |
row 1 |
row 1 |
row 1 |
row 1 |
row 1 |
row 1 |
row 1 |
row 1 |
row 1 |
row 1 |
row 1 |
row 1 |
row 1 |
row 1 |
row 2 |
row 2 |
row 2 |
row 2 |
row 2 |
row 2 |
row 2 |
row 2 |
row 2 |
row 2 |
row 2 |
row 2 |
row 2 |
row 2 |
row 2 |
row 2 |
row 2 |
row 3 |
row 3 |
row 3 |
row 3 |
row 3 |
row 3 |
row 3 |
row 3 |
row 3 |
row 3 |
row 3 |
row 3 |
row 3 |
row 3 |
row 3 |
row 3 |
row 3 |
Table with data cells spanning multiple
columns:
Head 1 |
Head 1 |
Head 1 |
Head 1 |
Head 1 |
Head 1 |
Head 1 |
Head 1 |
Head 1 |
Head 1 |
Head 1 |
Head 1 |
Head 1 |
Head 1 |
Head 1 |
Head 1 |
Head 1 |
Data Cell 1
span=2 cols |
Data Cell 2
span=5 cols |
Data Cell 3
span=10 cols |
row 1 |
row 1 |
row 1 |
row 1 |
row 1 |
row 1 |
row 1 |
row 1 |
row 1 |
row 1 |
row 1 |
row 1 |
row 1 |
row 1 |
row 1 |
row 1 |
row 1 |
row 2 |
row 2 |
row 2 |
row 2 |
row 2 |
row 2 |
row 2 |
row 2 |
row 2 |
row 2 |
row 2 |
row 2 |
row 2 |
row 2 |
row 2 |
row 2 |
row 2 |
row 3 |
row 3 |
row 3 |
row 3 |
row 3 |
row 3 |
row 3 |
row 3 |
row 3 |
row 3 |
row 3 |
row 3 |
row 3 |
row 3 |
row 3 |
row 3 |
row 3 |
Table with nested header & data cells
spanning multiple columns:
Header 1
span=8 cols |
Header 2
span=10 cols |
Data Cell 1
span=3 cols |
Data Cell 2
span=5 cols |
Data Cell 3
span=7 cols |
Data Cell 4
span=3 cols |
row 1 |
row 1 |
row 1 |
row 1 |
row 1 |
row 1 |
row 1 |
row 1 |
row 1 |
row 1 |
row 1 |
row 1 |
row 1 |
row 1 |
row 1 |
row 1 |
row 1 |
row 1 |
row 2 |
row 2 |
row 2 |
row 2 |
row 2 |
row 2 |
row 2 |
row 2 |
row 2 |
row 2 |
row 2 |
row 2 |
row 2 |
row 2 |
row 2 |
row 2 |
row 2 |
row 2 |
row 3 |
row 3 |
row 3 |
row 3 |
row 3 |
row 3 |
row 3 |
row 3 |
row 3 |
row 3 |
row 3 |
row 3 |
row 3 |
row 3 |
row 3 |
row 3 |
row 3 |
row 3 |
Tables Rowspan Test
Table Header Cells spanning multiple rows:
Header 1
span=2 rows |
col 1 |
col 2 |
col 3 |
col 4 |
col 5 |
col 6 |
col 7 |
col 8 |
col 9 |
col 1 |
col 2 |
col 3 |
col 4 |
col 5 |
col 6 |
col 7 |
col 8 |
col 9 |
Header 2
span=5 rows |
col 1 |
col 2 |
col 3 |
col 4 |
col 5 |
col 6 |
col 7 |
col 8 |
col 9 |
col 1 |
col 2 |
col 3 |
col 4 |
col 5 |
col 6 |
col 7 |
col 8 |
col 9 |
col 1 |
col 2 |
col 3 |
col 4 |
col 5 |
col 6 |
col 7 |
col 8 |
col 9 |
col 1 |
col 2 |
col 3 |
col 4 |
col 5 |
col 6 |
col 7 |
col 8 |
col 9 |
col 1 |
col 2 |
col 3 |
col 4 |
col 5 |
col 6 |
col 7 |
col 8 |
col 9 |
Header 3
span=3 rows |
col 1 |
col 2 |
col 3 |
col 4 |
col 5 |
col 6 |
col 7 |
col 8 |
col 9 |
col 1 |
col 2 |
col 3 |
col 4 |
col 5 |
col 6 |
col 7 |
col 8 |
col 9 |
col 1 |
col 2 |
col 3 |
col 4 |
col 5 |
col 6 |
col 7 |
col 8 |
col 9 |
Table Data Cells spanning multiple rows:
Head |
Data 1
span=2 rows |
col 1 |
col 2 |
col 3 |
col 4 |
col 5 |
col 6 |
col 7 |
col 8 |
col 9 |
Head |
col 1 |
col 2 |
col 3 |
col 4 |
col 5 |
col 6 |
col 7 |
col 8 |
col 9 |
Head |
Data 2
span=5 rows |
col 1 |
col 2 |
col 3 |
col 4 |
col 5 |
col 6 |
col 7 |
col 8 |
col 9 |
Head |
col 1 |
col 2 |
col 3 |
col 4 |
col 5 |
col 6 |
col 7 |
col 8 |
col 9 |
Head |
col 1 |
col 2 |
col 3 |
col 4 |
col 5 |
col 6 |
col 7 |
col 8 |
col 9 |
Head |
col 1 |
col 2 |
col 3 |
col 4 |
col 5 |
col 6 |
col 7 |
col 8 |
col 9 |
Head |
col 1 |
col 2 |
col 3 |
col 4 |
col 5 |
col 6 |
col 7 |
col 8 |
col 9 |
Head |
Data 3
span=3 rows |
col 1 |
col 2 |
col 3 |
col 4 |
col 5 |
col 6 |
col 7 |
col 8 |
col 9 |
Head |
col 1 |
col 2 |
col 3 |
col 4 |
col 5 |
col 6 |
col 7 |
col 8 |
col 9 |
Head |
col 1 |
col 2 |
col 3 |
col 4 |
col 5 |
col 6 |
col 7 |
col 8 |
col 9 |
Nested Table Header Cells & Data Cells spanning multiple rows:
Header 1
span=7 rows |
Data 1
span=2 rows |
col 1 |
col 2 |
col 3 |
col 4 |
col 5 |
col 6 |
col 7 |
col 8 |
col 9 |
col 1 |
col 2 |
col 3 |
col 4 |
col 5 |
col 6 |
col 7 |
col 8 |
col 9 |
Data 2
span=5 rows |
col 1 |
col 2 |
col 3 |
col 4 |
col 5 |
col 6 |
col 7 |
col 8 |
col 9 |
col 1 |
col 2 |
col 3 |
col 4 |
col 5 |
col 6 |
col 7 |
col 8 |
col 9 |
col 1 |
col 2 |
col 3 |
col 4 |
col 5 |
col 6 |
col 7 |
col 8 |
col 9 |
col 1 |
col 2 |
col 3 |
col 4 |
col 5 |
col 6 |
col 7 |
col 8 |
col 9 |
col 1 |
col 2 |
col 3 |
col 4 |
col 5 |
col 6 |
col 7 |
col 8 |
col 9 |
Header 2
span=3 rows |
Data 3
span=3 rows |
col 1 |
col 2 |
col 3 |
col 4 |
col 5 |
col 6 |
col 7 |
col 8 |
col 9 |
col 1 |
col 2 |
col 3 |
col 4 |
col 5 |
col 6 |
col 7 |
col 8 |
col 9 |
col 1 |
col 2 |
col 3 |
col 4 |
col 5 |
col 6 |
col 7 |
col 8 |
col 9 |
Tables Caption Test
Caption
align to top of a table.
Caption
align to bottom of table
Table Caption in the table
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
|
subtotals |
|
|
|
|
37.74 |
112.00 |
45.00 |
|
27.28 |
112.00 |
45.00 |
|
subtotals |
65.02 |
224.00 |
90.00 |
379.02 |
|
|
|
|
96.25 |
109.00 |
36.00 |
|
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)