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

  $Author: richard $

  $Revision: 1.5 $

  $Log: 11,v $
  Revision 1.5  2002/04/20 08:18:21  richard
  yesno

  Revision 1.4  2002/03/16 17:17:20  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/typedevents/11" 
	class="A" scope="wml2" testtype="application" type="manual" 
	source="wml2#5.6.3.1" device="both">
  <assertion>When an event binding element specifies an event type that 
  does not apply to its parent element, the user agent must ignore the 
  event binding.
  </assertion>
  <specnote>Create a card and insert a WML:ONEVENT element, with it's TYPE 
  attribute set to 'pick', within a WML:CARD element. Make sure that the 
  user agent ignores the event binding by not executing the task.
  </specnote>
  <results>
    <result ci="true">
      <name>submit</name>
      <value>yes</value>
    </result>
  </results>
  <method>
		<![CDATA[
			<wml:card id="main" title="main" newcontext="true">
				<wml:onevent type="pick">
					<wml:go href="card2" />
				</wml:onevent>
				<p>Please select an option and then answer the question</p>
				<form action="#card3">
     			<fieldset>
  					<p>Choice</p>
	    			<select wml:name="choice">
  	    			<option value="plane">Airplane</option>
			  			<option value="train">Railway</option>
							<option value="car">Automobile</option>
						</select>
	   			</fieldset>
  				<fieldset>
   					<input type="submit" value="submit" />
   				</fieldset>
   			</form>
				<p>When you chose an option did nothing happen?
					<br/>
					[[yesno]]
				</p>
			</wml:card>
		]]>
  </method>
</test>
