This document contains the test specification for the WAP June 2001 release of the:
This document contains the test specification for the WAP June 2001 release of the WAP CSS technical specification (WAP-239-WCSS-20010518-d.pdf).
The specification is organized such that there is a section for each
WAP CSS Extension of the WAG CSS specification in which assertions can be found. For each assertion, a corresponding entry in this test specification contains the following elements:
For each assertion in the specifications, a corresponding entry in this test
specification contains the following elements:
| ID: |
The name by which the test is known |
| Class: |
An assertion Class as defined in IEEE Std 1003.3. These types are: |
| A |
A mandatory, testable assertion. |
| B |
A mandatory, but untestable assertion. |
| C |
An optional, testable assertion. |
| D |
An optional, but untestable assertion. |
|
| Scope: |
If an assertion is type C or D, this entry describes the option that needs
to be supported in order to activate the test. |
| Text: |
The text of the assertion and a reference to the source specification
from which the assertion is derived. |
| Note: |
Any supplementary information associated with the assertion. For example
it may suggest a strategy for the test implementation of the assertion
or it may propose rationale as to why a test is classified as untestable.
|
There are no testable assertions in this section.
| ID: |
wcss/marquee/style/1 |
| Class: |
C |
| Scope: |
"The device does support the '-wap-marquee-style' property" |
| Text: |
When the -wap-marquee-style property of marquee display is
not set, it must default to 'scroll' and hence the text of the
marquee box must start completely off one side, scroll all the way
across and completely off, and then start again. [Wireless profile Cascading Style Sheet Specification section 17.2] |
| Note: |
Display a WML document including a
stylesheet, with the display property of the element set to
'-wap-marquee' and no value specified for the -wap-marquee-style
property, then ask the user:"Does the text in the marquee box
start completely off one side, scroll all the way across and
completely off, and then start again as this is the default behaviour?" |
|
| ID: |
wcss/marquee/style/2 |
| Class: |
C |
| Scope: |
"The device does support the '-wap-marquee-style' property" |
| Text: |
When the -wap-marquee-style property of marquee display is
set to 'scroll', the text of the marquee box must start off
completely off one side, scroll all the way across and completely
off, and then start again. [Wireless profile Cascading Style Sheet Specification section 17.2] |
| Note: |
Display a WML document including a
stylesheet, with the display property of the element set to
'-wap-marquee' and the -wap-marquee-style property set to 'scroll',
then ask the user:"Does the text in the marquee box start
completely off one side, scroll all the way across and completely
off, and then start again.?" |
|
| ID: |
wcss/marquee/style/3 |
| Class: |
C |
| Scope: |
"The device does support the '-wap-marquee-style' property" |
| Text: |
When the -wap-marquee-style property of marquee display
is set to 'slide', the text of the marquee box must start off
completely one side, scroll in and stop as soon as the text touches
the other margin. [Wireless profile Cascading Style Sheet Specification section 17.2] |
| Note: |
Display a WML document including a stylesheet,
with the display property of the element set to '-wap-marquee'
and the -wap-marquee-style property to 'slide', then ask the user :
"Does the text in the marquee box start completely off one side, scroll
in, and stop as soon as the text touches the other margin?" |
|
| ID: |
wcss/marquee/style/4 |
| Class: |
C |
| Scope: |
"The device does support the '-wap-marquee-style' property" |
| Text: |
When the -wap-marquee-style property of marquee display
is set to 'alternate', the text of the marquee box must bounce
back and forth. [Wireless profile Cascading Style Sheet Specification section 17.2] |
| Note: |
Manual test: Display a WML document including a
stylesheet with the display property of the element set to
'-wap-marquee' and the -wap-marquee-style property to 'alternate'
and then ask the user:"Is the text in the marquee box bouncing back
and forth within the screen?" |
|
| ID: |
wcss/marquee/style/5 |
| Class: |
C |
| Scope: |
"The device does support the '-wap-marquee-style' property" |
| Text: |
When the content of the marquee box is plain text, the
device must display it. [Wireless profile Cascading Style Sheet Specification section 17.2] |
| Note: |
Manual test: Display a WML document including a
stylesheet with the display property of the element set
to '-wap-marquee' and a plain text to be included in the marquee
box and then ask the user "Did the text have a marquee effect?" |
|
| ID: |
wcss/marquee/style/6 |
| Class: |
C |
| Scope: |
"The device does support the -wap-marquee-style property and pictograms" |
| Text: |
When the content of the marquee box is pictogram, the
device must display it. [Wireless profile Cascading Style Sheet Specification section 17.2] |
| Note: |
Manual test: Display a WML document including a stylesheet
with the display property of the element set to '-wap-marquee'
and a pictogram to be included in the marquee box and then ask
the user "Did the pictogram have a marquee effect?" |
|
| ID: |
wcss/marquee/style/7 |
| Class: |
D |
| Scope: |
"The device does support the '-wap-marquee-style' property" |
| Text: |
When the user agent supports marquee behaviour for a
marquee box that contains content other than text and images,
the device must display the box with a marquee effect. [Wireless profile Cascading Style Sheet Specification section 17.2] |
| Note: |
Untestable as it is not possible to setup a marquee
display for each of the supported content type dynamically. |
|
| ID: |
wcss/marquee/style/8 |
| Class: |
C |
| Scope: |
"The device does support the '-wap-marquee-style' property" |
| Text: |
When an invalid value is specified for the '-wap-marquee-style'
property the user agent must ignore it and not display an error. [Wireless profile Cascading Style Sheet Specification section 17.2] |
| Note: |
Manual test: Display a deck with an included style
sheet in which the value for the 'display' property is set as
'-wap-marquee' and the value for '-wap-marquee-style' property
for a element is specified as 'hidden', and then include
some text in the element.Confirm with the user that an
error wasn't displayed. |
|
| ID: |
wcss/marquee/loop/1 |
| Class: |
C |
| Scope: |
"The device does support the -wap-marquee-loop property of the marquee display" |
| Text: |
When no value has been specified for the -wap-marquee-loop
property,the marquee must stop scrolling after 8 loops and must
be rendered normally. [Wireless profile Cascading Style Sheet Specification section 17.3] |
| Note: |
Manual test: Display a WML document including a
stylesheet, in which the display property of the element is
set to '-wap-marquee', without a value for the -wap-marquee-loop
property and then ask the user "has the text stopped scrolling
after '8' loops and appear blocked?" |
|
| ID: |
wcss/marquee/loop/2 |
| Class: |
C |
| Scope: |
"The device does support the -wap-marquee-loop property of the marquee display" |
| Text: |
The device must support atleast 16 iterations for the
-wap-marquee-loop . [Wireless profile Cascading Style Sheet Specification section 17.3] |
| Note: |
Manual test: Display a WML document including a
stylesheet, in which the display property of the element is
set to '-wap-marquee'and the -wap-marquee-loop value to '16' and
then ask the user "Does the text scroll 16 times?" |
|
| ID: |
wcss/marquee/loop/3 |
| Class: |
C |
| Scope: |
"The device does support the -wap-marquee-loop property of the marquee display" |
| Text: |
When the loop value has reached its maximum limit, the text
must stop scrolling and must be rendered normally. [Wireless profile Cascading Style Sheet Specification section 17.3] |
| Note: |
Manual test: Display a WML document including a
stylesheet in which the display property of the element is
set to '-wap-marquee' and set the -wap-marquee-loop value to '6'
and then ask the user "has the text stopped scrolling
after 6 loops and appear blocked?" |
|
| ID: |
wcss/marquee/loop/4 |
| Class: |
C |
| Scope: |
"The device does support the -wap-marquee-loop property of the marquee display" |
| Text: |
When the loop value is set to 0, the text must not scroll
and still be visible to the user. [Wireless profile Cascading Style Sheet Specification section 17.3] |
| Note: |
Manual test: Display a WML document including a
stylesheet in which the display property of the element is
set to '-wap-marquee' and set the -wap-marquee-loop value to '0'
and then ask the user "Does the text appear static?" |
|
There are no testable assertions in this section.
| ID: |
wcss/accesskey/wap-accesskey/multiple/1 |
| Class: |
C |
| Scope: |
"The device does support CSS counters" |
| Text: |
When several ',' separated values are assigned to an
accesskey, the user agent must select the first available one
and ignore the others. [Wireless profile Cascading Style Sheet Specification section 18.1.2] |
| Note: |
Manual test, Display a WML document including a
stylesheet and with link to a card having '1' ,'2', '3' as
accesskey and ask the user to try using '1', '2', '3' one at a
time to access the link and confirm that the link was accessible
only by the key '1'. |
|
| ID: |
wcss/accesskey/wap-accesskey/multiple/2 |
| Class: |
C |
| Scope: |
"The device does support CSS counters" |
| Text: |
When several ' ' separated values are assigned to an
accesskey, the user agent must select all available keys for assignment. [Wireless profile Cascading Style Sheet Specification section 18.1.2] |
| Note: |
Manual test: Display a WML document including a
stylesheet and a link to a card having both '1' and '2' as
accesskey and then ask the user to use both 1 and 2 one at
a time and confirm that both activated the link. |
|
| ID: |
wcss/accesskey/wap-accesskey/multiple/3 |
| Class: |
C |
| Scope: |
"The device does support CSS counters" |
| Text: |
When an access key list contains both ',' and ' ' (space)
operators, the user agent must assign the first available key in the
comma separated list. [Wireless profile Cascading Style Sheet Specification section 18.1.2] |
| Note: |
Manual test: Display a WML document including a
stylesheet and a link to a card having '1, 2 3, 4 5 6' as accesskey
and then ask the user to use '1', '2', '3', '4', '5' and '6', one at
a time to access the link and confirm that the link was accessible
only by the key '1'. |
|
| ID: |
wcss/accesskey/wap-accesskey/multiple/4 |
| Class: |
C |
| Scope: |
"The device does support CSS counters" |
| Text: |
When an access key list contains both ',' and ' ' (space)
operators, and a comma separated entity is a list of space separated
access keys, the user agent must select all available key in the
space separated list for assignment. [Wireless profile Cascading Style Sheet Specification section 18.1.2] |
| Note: |
Manual test: Display a WML document including a
stylesheet and a link to a card having '1 2 3, 4 5, 6 7 8' as accesskey
and then ask the user to use '1', '2', '3', '4', '5', '6', '7' and '8',
one at a time to access the link and confirm that the link was accessible
only by the keys '1', '2' and '3'. |
|
| ID: |
wcss/accesskey/wap-accesskey/multiple/5 |
| Class: |
C |
| Scope: |
"The device does support CSS counters" |
| Text: |
When an access key list contains both ',' and ' ' (space)
operators, a comma-separated entity is a list of space separated
access keys, and none of the space-separated access keys can be
assigned, the user agent must evaluate the next entity in the
comma-separated list. [Wireless profile Cascading Style Sheet Specification section 18.1.2] |
| Note: |
Manual test: Display a WML document including a
stylesheet and a link to a card having '100, 1 2, 3 4 5' as accesskey
and then ask the user to use '1', '2', '3', '4', '5' and '100',
one at a time to access the link and confirm that the link was accessible
only by the keys '1' and '2'. |
|
There are no testable assertions in this section.
| ID: |
wcss/input/format/1 |
| Class: |
C |
| Scope: |
"The WAP input CSS extensions of the User Agent" |
| Text: |
When the -wap-input-format property for an input element
is specified as "*A", the text input must be limited to upper-case
letter, symbol or punctuation
characters. [Wireless profile Cascading Style Sheet Specification section 19.2] |
| Note: |
Display a WML document with an input element
and including a stylesheet in which the -wap-input-format property
of that element set to "*A", ask the user :Is input limited to
uppercase letters, symbols and punctuation? |
|
| ID: |
wcss/input/format/2 |
| Class: |
C |
| Scope: |
"The WAP input CSS extensions of the User Agent" |
| Text: |
When the -wap-input-format property of the input element
is specified as "*a", the text input is limited to lower-case
letter, symbol or punctuation
characters. [Wireless profile Cascading Style Sheet Specification section 19.2] |
| Note: |
Display a WML document with an input
element and a stylesheet in which the -wap-input-format property
of that element is set to "*a", ask the user :Is input limited
to lowercase letters,symbols and punctuation? |
|
| ID: |
wcss/input/format/3 |
| Class: |
C |
| Scope: |
"The WAP input CSS extensions of the User Agent" |
| Text: |
When the -wap-input-format property of the input element
is specified as "*N", the text input is limited to numeric characters. [Wireless profile Cascading Style Sheet Specification section 19.2] |
| Note: |
Display a WML document with an input
element and a stylesheet in which the -wap-input-format
property of that element is set to "*N" and then ask the
user to enter letters and ask :"Is the input limited to
only numeric characters?" |
|
| ID: |
wcss/input/format/4 |
| Class: |
C |
| Scope: |
"The WAP input CSS extensions of the User Agent" |
| Text: |
When the -wap-input-format property of the input element
is specified as "*n", the text input is limited to any numeric,
symbol, punctuation character. [Wireless profile Cascading Style Sheet Specification section 19.2] |
| Note: |
Display a WML document including an input
element and a stylesheet in which the -wap-input-format property
for that element is set to "*n" and ask the user to enter a
letter and then confirm:Was the input limited to numeric, symbols
and punctuation characters only? |
|
| ID: |
wcss/input/format/5 |
| Class: |
C |
| Scope: |
"The WAP input CSS extensions of the User Agent" |
| Text: |
When the -wap-input-format property of the input element
is specified as "*X", the text input is limited to any upper-case
letter,numeric character,symbolor punctuation character. [Wireless profile Cascading Style Sheet Specification section 19.2] |
| Note: |
Display a WML document including an input
and a stylesheet in which the -wap-input-format property for that
element is set to "*X" and ask the user to enter lowercase letter
prompt the user:Were lower case letters ignored as input? |
|
| ID: |
wcss/input/format/6 |
| Class: |
A |
| Text: |
When the -wap-input-format property of the input element
is specified as "*x", the text input is limited to lower-case
letters, numeric character, symbols or punctuation character. [Wireless profile Cascading Style Sheet Specification section 19.2] |
| Note: |
Manual test Display a wml document including an input
element and a stylesheet in which the -wap-input-format property
for that element is set to '*x', ask the user to try to give an
uppercase letter as input and then confirm that this wasnt
possible and the input was restricted to lower case letters,
numbers, symbols or punctuation character. |
|
| ID: |
wcss/input/format/7 |
| Class: |
C |
| Scope: |
"The WAP input CSS extensions of the User Agent" |
| Text: |
When the -wap-input-format property of the input element
is specified as "nf", where n is a natural number and f is one
of the format characters "aANXx", the number of input characters
is limited to n and the type is limited to f. [Wireless profile Cascading Style Sheet Specification section 19.2] |
| Note: |
Display a wml document with an input element
and a stylesheet in which the -wap-input-format for that element
is set to '5x'. Ask the user:"IS the input limited to 5 lowercase letter? |
|
| ID: |
wcss/input/format/8 |
| Class: |
C |
| Scope: |
"The WAP input CSS extensions of the User Agent" |
| Text: |
When the -wap-input-format property of the input element
is specified as a backslash "\" followed by a character c, that
character is displayed in the input field at the position indicated. [Wireless profile Cascading Style Sheet Specification section 19.2] |
| Note: |
Display a WML document with an input element
and a stylesheet in which the -wap-input-format property for that
element is set such as "\a\b\c*M" appears in the beginning and
then ask the user "Does the input field have the characters
"abc" in the beginning? |
|
| ID: |
wcss/input/format/9 |
| Class: |
C |
| Scope: |
"The WAP input CSS extensions of the User Agent" |
| Text: |
When the -wap-input-format property of the input element
is specified as a series of format characters, the input of each
position in the input field is limited as specified. [Wireless profile Cascading Style Sheet Specification section 19.2] |
| Note: |
Display a WML document with an input element
and a stylesheet in which the -wap-input-format property for that
element is set to 'xXN' and then ask the user "Was the input
restricted to lowercase letter, an uppercase letter and a digit. |
|
| ID: |
wcss/input/format/10 |
| Class: |
C |
| Scope: |
"The WAP input CSS extensions of the User Agent" |
| Text: |
When the -wap-input-format property of the input element
is specified as "*M", the text input can be any character, but
the user-agent may assume that the input is in upper-case. [Wireless profile Cascading Style Sheet Specification section 19.] |
| Note: |
Manual test Display a WML document with an input element
and a stylesheet in which the -wap-input-format property for that
element is set to '*M' and ask the user to enter any character
(letter,number,symbol or punctuation mark) and then confirm that
this was possible. |
|
| ID: |
wcss/input/format/11 |
| Class: |
C |
| Scope: |
"The WAP input CSS extensions of the User Agent" |
| Text: |
When the -wap-input-format property of the input element
is specified as "*m", the text input can be any character, but
the user-agent may assume that the input is in lower-case. [Wireless profile Cascading Style Sheet Specification section 19.2] |
| Note: |
Display a WML document with an input element
and a stylesheet in which the -wap-input-format property of the
input element is set to '*m' and then ask the user to enter any
character(letter,number,punctuation or symbol) and confirm that
it was possible to do so. |
|
| ID: |
wcss/input/format/12 |
| Class: |
C |
| Scope: |
"The WAP input CSS extensions of the User Agent" |
| Text: |
When the -wap-input-format property of the input element
is specified as an invalid mask, the mask must be ignored by
the user agent and must default to '*M'( must accept any characters
as input). [Wireless profile Cascading Style Sheet Specification section 19.2] |
| Note: |
Display a WML document with an input
element and the -wap-input-format property for that element
set to an invalid mask in an included css and then ask the user
to enter a value. Finally ask:"Was it possible to enter any character?" |
|
| ID: |
wcss/input/format/13 |
| Class: |
C |
| Scope: |
"The WAP input CSS extensions of the User Agent" |
| Text: |
When the -wap-input-format property of the input element
is set with no value it must default to '*M' and the text input
can be any character, but the user-agent may assume that the
input is in upper-case. [Wireless profile Cascading Style Sheet Specification section 19.2] |
| Note: |
Display a WML document with stylesheet
and an input element, the -wap-input-element for which, is set
to no value and ask the user to enter any characters. |
|
| ID: |
wcss/input/required/format/1 |
| Class: |
C |
| Scope: |
"The WAP input CSS extensions of the User Agent" |
| Text: |
When the -wap-input-required property of the input element is
set to 'true' and the wap-input-format property of the input element
allows a zero-length string (e.g; *M), the zero-length string is not
allowed (e.g. M*M). [Wireless profile Cascading Style Sheet Specification section 19.3.1] |
| Note: |
Display a wml document with a style sheet, having an
input element and set the -wap-input-required to 'true' and the
-wap-input-format to a mask which allows empty values (e.g. *M).
Prompt the user to leave it blank and make sure that the empty value
is not accepted. |
|
| ID: |
wcss/input/required/format/2 |
| Class: |
C |
| Scope: |
"The WAP input CSS extensions of the User Agent" |
| Text: |
When the -wap-input-required property of the input element is
set to 'false' and the wap-input-format property of the input element
allows a zero-length string (e.g; *M), the zero-length string is
allowed (e.g. *M). [Wireless profile Cascading Style Sheet Specification section 19.3.1] |
| Note: |
Display a wml document with a style sheet, having an
input element and set the -wap-input-required to 'false' and the
-wap-input-format to a mask which allows empty values (e.g. M*).
Prompt the user to leave it blank and Make sure that the empty value
is accepted. |
|
| ID: |
wcss/input/required/format/3 |
| Class: |
C |
| Scope: |
"The WAP input CSS extensions of the User Agent" |
| Text: |
When the -wap-input-required property of the input element is
set to 'true' and the wap-input-format property of the input element
does not allow a zero-length string (e.g; M*M), the zero-length string
is not allowed (e.g. M*M). [Wireless profile Cascading Style Sheet Specification section 19.3.1] |
| Note: |
Display a wml document with a style sheet, having an
input element and set the -wap-input-required to 'true' and the
-wap-input-format to a mask which does not allow empty values (e.g. M*M).
Prompt the user to leave it blank and make sure that the empty value
is not accepted. |
|
| ID: |
wcss/input/required/format/4 |
| Class: |
C |
| Scope: |
"The WAP input CSS extensions of the User Agent" |
| Text: |
When the -wap-input-required property of the input element is
set to 'false' and the wap-input-format property of the input element
does not allow a zero-length string (e.g; M*M), the zero-length string
is allowed (e.g. *M). [Wireless profile Cascading Style Sheet Specification section 19.3.1] |
| Note: |
Display a wml document with a style sheet, having an
input element and set the -wap-input-required to 'false' and the
-wap-input-format to a mask which does not allow empty values (e.g. M*M).
Prompt the user to leave it blank and make sure that the empty value
is accepted. |
|