<?xml version="1.0" encoding="UTF-8"?>

<test id="wml2/uabehaviour/formprocessing/forminitialisation/textinputcontrol/39"
	class="A" scope="wml2" testtype="application" type="manual"
	source="wml2#5.4.2.2" device="both">
	<assertion>When using a text input control, the control is an INPUT 
	element, the TYPE attribute is set to "password", the NAME attribute is 
	assigned, and the value of the VALUE attribute does not conform to the 
	input mask, the initial value of the control must be an empty string.
	</assertion>
	<specnote>Create a card that holds a text input control with the TYPE 
	attribute set to "password", an input mask, the NAME assigned and the value 
	of the VALUE attribute that does not conform to that mask. Make sure that 
	the initial value of the control is an empty string.
	</specnote>
	<results>
		<result>
			<name>submit</name>
			<value>yes</value>
		</result>
	</results>
	<method>
		<![CDATA[
			<wml:card id="main" title="main" newcontext="true">
				<p>Please submit the form without changing anything
					<form action="#card2">
						<fieldset>
							<p>input:</p>
							<input type="password" name="xname" value="1234" wml:format="*a" />
						</fieldset>
						<fieldset>
							<input type="submit" value="submit" />
							<input type="reset" value="reset" />
						</fieldset>
					</form>
				</p>
				[[auto_failed]]
			</wml:card>
			<wml:card id="card2" title="card2">
				<p>This is card 2<br />
					name=$$xname value=$xname <br />
				</p>
				<p>Is the initial value of the control $$xname an empty string?
					<br />
					[[yesno]]
				</p>
			</wml:card>
		]]>
	</method>
</test>
