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

<test id="wml2/uabehaviour/navuiwmldo/typeprocessing/5" class="A" 
	scope="wml2" testtype="application" type="manual" source="wml2#5.10.1" 
	device="both">
	<assertion>When the WML:DO element's TYPE attribute is set to 'prev', 
	the user agent must select the default presentation associated with 
	that role.
	</assertion>
	<specnote>Create a card that first navigates to a second card that holds 
	the WML:DO element, with its TYPE attribute set to 'prev'. Display the 
	first card, navigate to the second card, make sure that the back key is
	available, and execute the task.
	</specnote>
	<results>
		<result>
			<name>submit</name>
			<value>yes</value>
		</result>
	</results>
	<method>
		<![CDATA[
			<wml:card id="main" title="main" newcontext="true">
				<p>Please go to <a href="#card2">card2</a>
				</p>
				<p>Is a default presentation associated with the &quot;prev&quot;
					role displayed in the second card?
					<br />
					[[yesno]]
				</p>
			</wml:card>
			<wml:card id="card2" title="card2">
				<wml:do type="prev">
					<wml:prev />
				</wml:do>
				<p>This is card2 <br />
					Now press the back button and answer the question.
				</p>
			</wml:card>
		]]>
	</method>
</test>
