<?xml version="1.0" encoding="UTF-8"?>
<test id="wcss/input/required/1" class="C" scope="wcss:input" 
	testtype="application" type="manual" source="wcss#19.3" device="both">
	<assertion>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.
	</assertion>
	<specnote>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.</specnote>
	<results>
		<result>
			<name>submit</name>
			<value>yes</value>
		</result>
	</results>
	<stylesheets>
		<stylesheet id="1">
			<![CDATA[input { -wap-input-required: true }]]>
		</stylesheet>
	</stylesheets>
	<method>
		<![CDATA[
			<wml:card newcontext="true" id="main" title="main">
				<p>Let the input Empty and submit the form</p>
				<form action="#card1">
					<fieldset>
						<p>recipient:</p>
						<input name="test"/>
					</fieldset>
					<fieldset>
						<input type="submit" value="submit"/>
						<input type="reset" value="reset"/>
					</fieldset>
				</form>
				<p class="og">Did the user agent NOT permit the input field to be empty? 
					<br/>
					[[yesno]]
				</p>
			</wml:card>
						
			<wml:card id="card1">
				<p>card1</p>
				<p>If you reach this card the test has failed<br/>
					Please go back to the previous card
				</p>
				<wml:do role="back">
					<wml:prev/>
				</wml:do>
			</wml:card>
		]]>
	</method>
</test>
