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

  $Author: richard $

  $Revision: 1.7 $

  $Log: 1,v $
  Revision 1.7  2002/04/19 09:58:52  richard
  yesno element

  Revision 1.6  2002/03/21 10:05:02  richard
  rewrite test

  Revision 1.5  2002/03/15 16:42:15  richard
  wml:doelement used thr role attribute instead of the type attribute

  Revision 1.4  2002/02/22 13:39:15  richard
  correction of an error : href"card2"

  Revision 1.3  2001/10/30 16:22:05  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:03  gb
  Added the standard header of Author, Revision and Log at the top of each template file.


-->
<test id="wml2/markup/contextandnav/wmlanchorelement/1" class="A" 
	scope="wml2" testtype="application" type="manual" source="wml2#6.16.1" 
	device="both">
	<assertion>When the user activates the WML:ANCHOR element, the user agent 
	must execute the associated task.
	</assertion>
	<specnote>Create a card with that contains the WML:ANCHOR element, which 
	contains a WML:GO element. Display the card, make sure the link is visable 
	and that when clicked, it takes you to a second card.
	</specnote>
  <results>
    <result>
      <name>submit</name>
      <value>yes</value>
    </result>
  </results>
  <method>
		<![CDATA[
			<wml:card newcontext="true" id="main">
				<p>Click this &nbsp;
					<wml:anchor>
						Link&nbsp;
						<wml:go href="#card2" />
					</wml:anchor>
					and make sure you are taken to the second card<br/>
				</p>
				<p>Were you taken to the second card when the link was clicked?
					<br/>
					[[yesno]]
				</p>
			</wml:card>
			<wml:card id="card2">
				<wml:do type="prev">
					<wml:prev />
				</wml:do>
				<p>This is card two.<br />
					Now please return to the first card.
				</p>
			</wml:card>
		]]>
	</method>
</test>
