<?xml version="1.0" encoding="UTF-8"?>
<test id="wcss/input/format/wmlformat/1" class="C" scope="wcss:input" 
	testtype="application" type="manual" source="wcss#19.2.1" device="both">
	<assertion>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
	</assertion>
	<specnote>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 INPUT 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.
	</specnote>
	<results>
		<result>
			<name>submit</name>
			<value>yes</value>
		</result>
	</results>
	<stylesheets>
		<stylesheet id="1">
			<![CDATA[input { -wap-input-format: "1n" }]]>
		</stylesheet>
	</stylesheets>
	<method>
		<![CDATA[
			<wml:card newcontext="true" id="main" title="main">
				<p>Enter a number and then a letter</p>
				<p>	
					<wml:input format="1a" name="test"/>
				</p>
				<p class="og">Is only the number accepted and not the letter? 
					<br/>
					[[yesno]]
				</p>
			</wml:card>
		]]>
	</method>
</test>
