<?xml version="1.0" encoding="UTF-8"?>
<test id="wml/events/intrinsics/onevent/1" class="A" scope="wml" testtype="application" type="manual" source="wml13#9.10.1" device="both">
  <assertion>The user agent must ignore any ONEVENT element specifying a type
that does not correspond to a legal intrinsic event for the immediately 
enclosing element.
</assertion>
  <specnote>Added with wml version 1.3.  ONPICK is the only intrinsic event
that can not be placed in a card or deck, so that is used for this test.</specnote>
  <results>
    <result>
      <name>submit</name>
      <value>yes</value>
    </result>
  </results>
  <method>
    <![CDATA[<card newcontext="true" id="main">
<p>Select this&nbsp;<anchor>
<go href="<deck1>">
</go>link</anchor>&nbsp;and then come back to
this screen.</p>
<p mode="wrap">Was a card displayed saying 'This is some text'?
<br />
<yesno>
</p>
</card>]]>
  </method>
  <decks>
    <deck id="1">
      <![CDATA[<card id="main">
	<onevent type="MadeUpType">
		<prev/>
	</onevent>

	<p>
	<do type="options" label="back">
		<prev/>
	</do>
	This is some text
	</p>
</card>
]]>
    </deck>
  </decks>
</test>

