<?xml version="1.0" encoding="UTF-8"?>
<test id="wml/events/shadowing/3" class="A" scope="wml" testtype="application" type="manual" source="wml13#9.6" device="both">
  <assertion>When an event-handling element is specified within a TEMPLATE element,
and an event-handling element identifying the same event is specified within a
CARD element, and that handler specifies its task as NOOP, there is no event
handler for the event within the card.  The user agent shall not provide a
control for this event in this card.
</assertion>
  <results>
    <result>
      <name>var</name>
      <value>pass</value>
    </result>
  </results>
  <method>
    <![CDATA[<template>
<do type="help" name="help" label="help">
<go href="#card1"/>
</do>
</template>
<card id="main">
<do type="help" name="help" label="help">
<noop/>
</do>
<p>If there is a help option available on this card, select it.
Otherwise, press accept to continue.</p>
<do type="accept" label="accept" name="accept">
<go href="<responseurl>">
<postfield name="var" value="pass"/>
<sessionvars>
</go>
</do>
</card>]]>
  </method>
  <cards>
    <card id="1">
      <![CDATA[<card id="card1">
<onevent type="onenterforward">
<go href="<responseurl>">
<postfield name="var" value="fail"/>
<sessionvars>
</go>
</onevent>
<auto_failed>
</card>
]]>
    </card>
  </cards>
</test>

