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

	$Author: richard $

	$Revision: 1.7 $

	$Log: 6,v $
	Revision 1.7  2002/06/16 16:14:28  richard
	remove the body element
	
	Revision 1.6  2002/04/20 08:16:39  richard
	yesno

	Revision 1.5  2002/03/26 16:38:12  richard
	extra wml:card final tag

	Revision 1.4  2002/03/17 11:40:25  richard
	rewrite test

	Revision 1.3  2001/10/30 16:22:29  gb
	Modified all the test files in the wml2 directory such that it puts the <?xml?> declaration back at the top of the file, before the comment.

	Revision 1.2  2001/10/08 21:56:14  gb
	Added the standard header of Author, Revision and Log at the top of each template file.


-->
<test id="wml2/uabehaviour/eventmodel/eventbindings/shadowing/6" 
	class="A" scope="wml2" testtype="application" type="manual" 
	source="wml2#5.6.3.3" device="both">
	<assertion>When a document-level binding specifies a NOOP task but does 
	not override and is not overridden by another binding, then the binding 
	for that event must be masked and similarly ignored with no side effects.
	</assertion>
	<specnote>Create a document with an ENTERFORWARD event binding with 
	a NOOP task and display a card within that document. The card should be 
	displayed without side effects.
	</specnote>
	 <results>
		<result>
			<name>submit</name>
			<value>yes</value>
		</result>
	</results>
	<method>
		<![CDATA[
			<p>Select this
				<a href="[[page1]]">link</a>
				and then come back to this screen.
			</p>
			<p>Were card1 and card2 displayed without any side effectes?
				<br/>
				[[yesno]]
			</p>
		]]>
	</method>
	<pages>
		<page id="1">
			<![CDATA[
				<?xml version="1.0" encoding="UTF-8"?>
				<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD WML 2.0//EN" "http://www.wapforum.org/wml20.dtd">
				<html xmlns="http://www.w3.org/1999/xhtml"
					xmlns:wml="http://www.wapforum.org/2001/wml"
					wml:use-xml-fragments="true">
					<head>
						<title>Shadowing 6</title>
					</head>
					<wml:onevent type="enterforward">
						<wml:noop />
					</wml:onevent>
					<wml:card id="card1" title="card1">
						<p>This is card1</p>
						<p>This card shall have been displayed without any side effects<br/>
							Go to <a href="#card2">card2</a> 
							and then go back to the previous document.
						</p>
						<wml:do type="prev">
							<wml:prev />
						</wml:do>
						</wml:card>
					<wml:card id="card2" title="card2">
						<p>This is card2</p>
						<p>This card shall have been displayed without any side effects<br/>
							Now go back to card1</p>
						<wml:do type="prev">
							<wml:prev />
						</wml:do>
					</wml:card>
				</html>
			]]>
		</page>
	</pages>
</test>
