WAP Cascade Style Sheets Specification


ISSUE : wcssJK1_010915

Copyright © 1999, 2000, 2001 Wireless Application Forum. Ltd. All Rights Reserved.


Preface

Preface

This document contains the test specification for the WAP June 2001 release of the:

WAP Cascading Style Sheets
version WAP-239-WCSS-20010518-d.pdf

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:

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.

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.

This specification uses the following conventions for convenience:


Table of Contents

17. WAP CSS Extension:Marquee
17.1 The -wap-marquee Property value
17.2 Marquee style: '-wap-marquee-style'
17.3 Marquee Loop: '-wap-marquee-loop'
17.4 Marquee Direction: '-wap-marquee-dir'
17.5 Marquee Speed: '-wap-marquee-speed'

18. WAP CSS Extension:Access Keys
18.1 Access Keys: '-wap-accesskey'
18.1.1 Access Key Availabilty and Assignment
18.1.2 Fallbacks and Multiple Assignments
18.1.3 The XHTML'accesskey' Attribute

19. WAP CSS Extension:Input
19.1 Input-Concept
19.2 Input Format: '-wap-input-format'
19.2.1 The WML 'format' Attribute
19.3 Required Input: '-wap-input-required'
19.3.1 WAP CSS 'wap-input-format' Property
19.3.2 The WML 'emptyok' Attribute

17. WAP CSS Extension:Marquee

There are no testable assertions in this section.

17.1 The -wap-marquee Property value

ID: wcss/marquee/wap-marquee/1
Class: C
Scope: "The -wap-marquee capability of the User-Agent"
Text: When the DISPLAY property in an inline style attribute, for an element is set to '-wap-marquee', the user-agent must generate one marquee box. [Wireless profile Cascading Style Sheet Specification section 17.1]
Note: Display a WML document,in which the DISPLAY property in the style attribute of the

element, is set to '-wap-marquee', and some text to be included in the

element. Ask the user: "Is a marquee with scrolling text being displayed"?


ID: wcss/marquee/wap-marquee/2
Class: C
Scope: "The -wap-marquee capability of the User-Agent"
Text: When the display property for an element is set to '-wap-marquee' in an external style sheet, the user-agent must generate one marquee box. [Wireless profile Cascading Style Sheet Specification section 17.1]
Note: Display a WML document, referencing an external style sheet ,with the element, in which the display property of the

element is set to '-wap-marquee'. Include some text in the

element in the WML document. Ask the user: "Is a marquee box with scrolling text being displayed?"

17.2 Marquee style: '-wap-marquee-style'

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.

17.3 Marquee Loop: '-wap-marquee-loop'

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?"

17.4 Marquee Direction: '-wap-marquee-dir'

ID: wcss/marquee/dirn/1
Class: C
Scope: "The device does support the -wap-marquee-dir property of the marquee display"
Text: When -wap-marquee-dir property value is not set it defaults to right to left. [Wireless profile Cascading Style Sheet Specification section 17.4]
Note: Manual test: Display a WML document including a stylesheet in which the display property of the

element is set to '-wap-marquee', with no value assigned to the -wap-marquee-dir property and then ask the user:"Is the marquee scrolling from right to left?"


ID: wcss/marquee/dirn/2
Class: C
Scope: "The device does support the -wap-marquee-dir property of the marquee display"
Text: When -wap-marquee-dir value is set to 'rtl' the text must scroll from right to left. [Wireless profile Cascading Style Sheet Specification section 17.4]
Note: Manual test: Display a WML document with a stylesheet in which the display property of the

element is set to '-wap-marquee' and with the -wap-marquee-dir property set to 'rtl'. Ask the user:"Is the marquee scrolling from right to left?"


ID: wcss/marquee/dirn/3
Class: C
Scope: "The device does support the -wap-marquee-dir property of the marquee display"
Text: When the -wap-marquee-dir property value is set to 'ltr' the text must scroll from left to right. [Wireless profile Cascading Style Sheet Specification section 17.4]
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-dir set to 'ltr' and then ask the user:"Is the marquee scrolling from left to right?"

17.5 Marquee Speed: '-wap-marquee-speed'

ID: wcss/marquee/speed/1
Class: C
Scope: "The device does support -wap-marquee-speed property of the marquee display"
Text: When the -wap-marquee-speed property value is set to 'slow', 'normal' and 'fast',the relation slowWireless profile Cascading Style Sheet Specification section 17.5]
Note: Manual test: Display a WML document including a stylesheet and having three links each displaying a card with -wap-marquee-speed set to 'slow','normal' and 'fast' respectively and then ask the user:"Was the marquee scrolling speed getting faster as you clicked links slow, normal and fast?"

ID: wcss/marquee/speed/2
Class: C
Scope: "The device does support -wap-marquee-speed property of the marquee display"
Text: When the -wap-marquee-speed property value is not specified, it must default to normal [Wireless profile Cascading Style Sheet Specification section 17.5]
Note: Manual test: Display a WML document including a stylesheeet and having three links each displaying a card with -wap-marquee-speed set to 'slow' in the first and 'fast'in the third and not set in the second and then ask the user:"Was the marquee scrolling speed getting faster as you clicked on the links slow,default and fast?"

18. WAP CSS Extension:Access Keys

There are no testable assertions in this section.

18.1 Access Keys: '-wap-accesskey'

ID: wcss/accesskey/wap-accesskey/1
Class: D
Scope: "The device does support CSS counters"
Text: When no value is specified for the -wap-accesskey property, it must not be set to any accesskey. [Wireless profile Cascading Style Sheet Specification section 18.1]
Note: It is testable but unfeasible to test for all the keys or combination of keys available on a device and hence marked untestable.

ID: wcss/accesskey/wap-accesskey/2
Class: D
Scope: "The device does support CSS counters"
Text: When an invalid value is assigned to the -wap-accesskey property, the user agent must ignore it [Wireless profile Cascading Style Sheet Specification section 18.1]
Note: It is not possible to determine and set up an invalid accesskey for all devices. Is there always at least one invalid value for an accesskey?

ID: wcss/accesskey/wap-accesskey/3
Class: C
Scope: "The device does support CSS counters"
Text: When the CSS counter is specified as the access key, and if the value is between 0 and 9(inclusive) the user agent must treat it as a numeric key. [Wireless profile Cascading Style Sheet Specification section 18.1]
Note: Manual test: Display a WML document with a stylesheet in which a counter is set as the value for the '-wap-accesskey' for an element, and then have 10 links to be accessed using keys from 0 to 9 and then ask the user "Were you able to access all the links using the numeric keys?"

ID: wcss/accesskey/wap-accesskey/4
Class: C
Scope: "The device does support CSS counters"
Text: When the CSS counter is specified as the access key, and if the value is less than 0 and greater than 9, the user agent must ignore it. [Wireless profile Cascading Style Sheet Specification section 18.1]
Note: Manual test: Display a WML document with a stylesheet in which a counter is set as the value of '-wap-accesskey' property for an element, starting at 10 and then ask the user to access the link using any key and then confirm that the link was inaccessible that way.

18.1.1 Access Key Availabilty and Assignment

ID: wcss/accesskey/wap-accesskey/availability/1
Class: C
Scope: "The device does support CSS counters"
Text: When an accesskey has already been assigned to an element, it must become unavailable for another element [Wireless profile Cascading Style Sheet Specification section 18.1.1]
Note: Manual test: Display a wml document with links to two cards assigning the key '1' as accesskey to both and then confirm that the second card is not accessible by the key '1'.

ID: wcss/accesskey/wap-accesskey/availability/2
Class: D
Scope: "The device does support CSS counters"
Text: When an accesskey is being used for some other purpose it must be unavailable for another element [Wireless profile Cascading Style Sheet Specification section 18.1.1]
Note: Untestable as it is not possible to know which keys are being used for some other purpose

ID: wcss/accesskey/wap-accesskey/availability/3
Class: C
Scope: "The device does support CSS counters"
Text: When an accesskey is available for an element, the user agent must use the specified access key and assign to the element. [Wireless profile Cascading Style Sheet Specification section 18.1.1]
Note: Manual test: Display a wml document including a style sheet to set the value of the accesskey and a link to a card and prompt the user to access it with the key '1' and then prompt the user:"Was it possible to access the link using the key '1'?"

ID: wcss/accesskey/wap-accesskey/availability/4
Class: D
Scope: "The device does support CSS counters"
Text: When an accesskey is unavailable for an element, the user agent must use another key and assign to the element or ignore it. [Wireless profile Cascading Style Sheet Specification]
Note: It is testable but unfeasible to setup for unavailable keys or key combinations for a device and hence marked untestable.

18.1.2 Fallbacks and Multiple Assignments

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'.

18.1.3 The XHTML'accesskey' Attribute

ID: wcss/accesskey/wap-accesskey/xhtml/1
Class: C
Scope: "The device does support CSS counters"
Text: When the XHTML accesskey attribute is present on an element it must be translated into the -wap-accesskey rule with specificity equal to zero [Wireless profile Cascading Style Sheet Specification section 18.1.3]
Note: Manual test: Display a WML document with a stylesheet in which the 'accesskey' is set to '1' and the '-wap-accesskey' is set to '2' for an element and display a link to another card and ask the user to try to access the link with '1' first and then '2' and confirm that the link could be accessed only with '2'.

19. WAP CSS Extension:Input

There are no testable assertions in this section.

19.1 Input-Concept

ID: wcss/input/concepts/1
Class: C
Scope: "The WAP input CSS extensions of the User Agent"
Text: When a -wap-input property is applied to a non-input element the user agent must ignore it and the element remains unaffected. [Wireless profile Cascading Style Sheet Specification section 19.1]
Note: Display a WML document with a link to another WML document and an input property applied to it. Ask the user whether the link could be accessed.

19.2 Input Format: '-wap-input-format'

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.

19.2.1 The WML 'format' Attribute

ID: wcss/input/format/wmlformat/1
Class: C
Scope: "The WAP input CSS extensions of the User Agent"
Text: When the WML 'format' attribute is present on an element it must be translated into the -wap-input-format rule with specificity equal to zero [Wireless profile Cascading Style Sheet Specification section 19.2.1]
Note: Display a WML document with a stylesheet in which the 'format' property is set to '1a' and the 'wml-input-format' to '1n' for an element and then ask the user to enter one letter and then one number and confirm that letter wasnt possible as input and only a number was accepted.

19.3 Required Input: '-wap-input-required'

ID: wcss/input/required/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 specified as "true", an input must be provided even if the wap-input-format property of the input element allows a blank value. [Wireless profile Cascading Style Sheet Specification section 19.3]
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. Prompt the user to leave it blank and then confirm whether the blank value was accepted or not.

ID: wcss/input/required/2
Class: C
Scope: "The WAP input CSS extensions of the User Agent"
Text: When -wap-input-required is set to false, input can be left blank. [Wireless profile Cascading Style Sheet Specification section 19.3]
Note: Display a wml document including a style sheet and an input value. Specify the -wap-input-required property as false and then prompt the user to leave the input blank and confirm whether this was possible.

19.3.1 WAP CSS 'wap-input-format' Property

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.

19.3.2 The WML 'emptyok' Attribute

ID: wcss/input/required/emptyok/1
Class: C
Scope: "null"
Text: When the WML 'emptyok' attribute is present on an element it must be translated into the -wap-input-required rule with specificity equal to zero [Wireless profile Cascading Style Sheet Specification section 19.3.2]
Note: Manual test Display a WML document with a stylesheet in which the 'emptyok' property is set to 'true' and the 'wap-input-required' is set to true for the same input element and then confirm with the user that an input had to supplied.