Commit 33cde501 authored by zimmermann@webkit.org's avatar zimmermann@webkit.org

Reviewed by George Staikos.

[WML] Manual WML tests aren't properly working
https://bugs.webkit.org/show_bug.cgi?id=27718

Fix file paths in the manual WML layout tests, remove unneeded tests (already covered by DRT tests).
Add missing resources directory and test image. Reformat all testcases to a common style.
Add new StartTests.wml file, which should be used as starting point to crawl through the manual tests.

Filing bugs soon for all tests exposing bugs (7 in total).


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@46422 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 52fbcfc3
2009-07-27 Nikolas Zimmermann <nikolas.zimmermann@torchmobile.com>
Reviewed by George Staikos.
[WML] Manual WML tests aren't properly working
https://bugs.webkit.org/show_bug.cgi?id=27718
Fix file paths in the manual WML layout tests, remove unneeded tests (already covered by DRT tests).
Add missing resources directory and test image. Reformat all testcases to a common style.
Add new StartTests.wml file, which should be used as starting point to crawl through the manual tests.
Filing bugs soon for all tests exposing bugs (7 in total).
* manual-tests/wml/StartTests.wml: Added.
* manual-tests/wml/a-br-element.wml:
* manual-tests/wml/a-element.wml:
* manual-tests/wml/a-img-element.wml:
* manual-tests/wml/access-target.wml:
* manual-tests/wml/anchor-br-element.wml:
* manual-tests/wml/anchor-element.wml:
* manual-tests/wml/anchor-img-element.wml:
* manual-tests/wml/card-newcontext-attr.wml:
* manual-tests/wml/card-onenterbackward.wml:
* manual-tests/wml/card-onenterforward.wml:
* manual-tests/wml/card-ontimer.wml:
* manual-tests/wml/card-title-attr.wml: Removed.
* manual-tests/wml/deck-access-control.wml:
* manual-tests/wml/go-element.wml: Removed.
* manual-tests/wml/input-emptyok.wml: Removed.
* manual-tests/wml/input-format.wml:
* manual-tests/wml/onevent-go.wml:
* manual-tests/wml/onevent-noop.wml:
* manual-tests/wml/onevent-prev.wml:
* manual-tests/wml/onevent-refresh.wml:
* manual-tests/wml/onevent-shadow.wml:
* manual-tests/wml/postfield-get.wml: Removed.
* manual-tests/wml/postfield-post.wml: Removed.
* manual-tests/wml/resources: Added.
* manual-tests/wml/resources/smiley.png: Added.
* manual-tests/wml/select-element.wml:
* manual-tests/wml/select-onpick-event.wml:
* manual-tests/wml/setvar-element.wml:
* manual-tests/wml/targetdeck.wml:
* manual-tests/wml/task-go-in-anchor.wml:
* manual-tests/wml/task-noop-in-do.wml:
* manual-tests/wml/task-noop-in-onevent.wml: Removed.
* manual-tests/wml/task-prev-in-anchor.wml:
* manual-tests/wml/task-refresh-in-anchor.wml:
* manual-tests/wml/template-go.wml:
* manual-tests/wml/template-onevent.wml: Removed.
* manual-tests/wml/template-ontimer.wml:
* manual-tests/wml/timer.wml:
* manual-tests/wml/variable-substitution.wml:
2009-07-27 Nate Chapin <japhet@chromium.org>
Reviewed by Dimitri Glazkov.
......
<wml>
<card>
<a href="a-br-element.wml">a-br-element.wml</a><br/>
<a href="a-element.wml">a-element.wml</a><br/>
<a href="a-img-element.wml">a-img-element.wml</a><br/>
<a href="access-target.wml">access-target.wml</a><br/>
<a href="anchor-br-element.wml">anchor-br-element.wml</a><br/>
<a href="anchor-element.wml">anchor-element.wml</a><br/>
<a href="anchor-img-element.wml">anchor-img-element.wml</a><br/>
<a href="card-newcontext-attr.wml">card-newcontext-attr.wml</a><br/>
<a href="card-onenterbackward.wml">card-onenterbackward.wml</a><br/>
<a href="card-onenterforward.wml">card-onenterforward.wml</a><br/>
<a href="card-ontimer.wml">card-ontimer.wml</a><br/>
<a href="deck-access-control.wml">deck-access-control.wml</a><br/>
<a href="go-element.wml">go-element.wml</a><br/>
<a href="input-format.wml">input-format.wml</a><br/>
<a href="onevent-go.wml">onevent-go.wml</a><br/>
<a href="onevent-noop.wml">onevent-noop.wml</a><br/>
<a href="onevent-prev.wml">onevent-prev.wml</a><br/>
<a href="onevent-refresh.wml">onevent-refresh.wml</a><br/>
<a href="onevent-shadow.wml">onevent-shadow.wml</a><br/>
<a href="select-element.wml">select-element.wml</a><br/>
<a href="select-onpick-event.wml">select-onpick-event.wml</a><br/>
<a href="setvar-element.wml">setvar-element.wml</a><br/>
<a href="targetdeck.wml">targetdeck.wml</a><br/>
<a href="task-go-in-anchor.wml">task-go-in-anchor.wml</a><br/>
<a href="task-noop-in-do.wml">task-noop-in-do.wml</a><br/>
<a href="task-prev-in-anchor.wml">task-prev-in-anchor.wml</a><br/>
<a href="task-refresh-in-anchor.wml">task-refresh-in-anchor.wml</a><br/>
<a href="template-go.wml">template-go.wml</a><br/>
<a href="template-ontimer.wml">template-ontimer.wml</a><br/>
<a href="timer.wml">timer.wml</a><br/>
<a href="variable-substitution.wml">variable-substitution.wml</a><br/>
</card>
</wml>
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card title="A element Test">
<p>Test for A element including BR element</p>
<p>
"Next Page" will be broken by BR element between them<br/>
<a href="../test.wml">Next <br/> page</a>
</p>
</card>
<card title="A element Test">
<p>Test for A element including BR element</p>
<p>
"Next Page" will be broken by BR element between them<br/>
<a href="StartTests.wml">Next <br/> page</a>
</p>
</card>
</wml>
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card title="A element Test">
<p>Test for A element. <br/>When mouse moves into link, "go to test.wml" will appear, click the link, will jump to test.wml</p>
<p>
<a href="../test.wml" title="go to test.wml" >Next page</a>
</p>
</card>
<card title="A element Test">
<p>Test for A element. <br/>When mouse moves into link, "go to StartTests.wml" will appear, click the link, will jump to StartTests.wml</p>
<p>
<a href="StartTests.wml" title="go to StartTests.wml" >Next page</a>
</p>
</card>
</wml>
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card title="A element Test">
<p>Test for A element including img element. </p>
<p>
<a href="../test.wml" title="Next Page"><img src="../resources/smile.gif"/></a>
</p>
</card>
</wml>
<card title="A element Test">
<p>Test for A element including img element. </p>
<p>
<a href="StartTests.wml" title="Next Page"><img src="resources/smiley.png"/></a>
</p>
</card>
</wml>
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
"http://www.wapforum.org/DTD/wml_1.1.xml">
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card ontimer="./targetdeck.wml">
<timer name="t1" value="30"/>
<p> Test for Deck Access control in WML. </p>
<p> If the test passes, this deck will jump to "targetdeck.wml" after 3 second</p>
</card>
<card ontimer="./targetdeck.wml">
<timer name="t1" value="30"/>
<p>Test for Deck Access control in WML.</p>
<p>If the test passes, this deck will jump to "targetdeck.wml" after 3 second</p>
</card>
</wml>
<?xml version="1.0" ?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
"http://www.wapforum.org/DTD/wml_1.1.xml">
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card title="Anchor Tag">
<p> Test for br element enclosed with anchor element </p>
<p>
<anchor><go href="../test.wml"/>Go to <br/>test.wml</anchor>
</p>
</card>
<card title="Anchor Tag">
<p>Test for br element enclosed with anchor element</p>
<p>
<anchor><go href="StartTests.wml"/>Go to <br/>StartTests.wml</anchor>
</p>
</card>
</wml>
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card title="Anchor Tag">
<p>
This is an anchor bound to go task<br/>
<anchor>Next page
<go href="cards.wml"/>
</anchor>
</p>
<card title="Anchor Tag">
<p>This is an anchor bound to go task<br/>
<anchor>
Next page
<go href="anchor-img-element.wml"/>
</anchor>
</p>
<p>
This an anchor bound to prev task<br/>
<anchor title="Previous" >Prev page
<prev/>
</anchor>
</p>
<p>This an anchor bound to prev task<br/>
<anchor title="Previous" >Prev page
<prev/>
</anchor>
</p>
<p>
This an anchor bound to refresh task<br/>
<anchor title="Refresh">Refresh $var
<refresh>
<setvar name="var" value="me"/>
</refresh>
</anchor>
</p>
<p>This an anchor bound to refresh task<br/>
<anchor title="Refresh">Refresh $var
<refresh>
<setvar name="var" value="me"/>
</refresh>
</anchor>
</p>
<p>
This is an anchor contains img element, bound to prev task <br/>
<anchor title="click to go back">
<prev/>
<img src="../resources/smile.gif" />
</anchor>
</p>
</card>
</wml>
<p>This is an anchor contains img element, bound to prev task<br/>
<anchor title="click to go back">
<prev/>
<img src="resources/smiley.png"/>
</anchor>
</p>
</card>
</wml>
<?xml version="1.0" ?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
"http://www.wapforum.org/DTD/wml_1.1.xml">
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card title="Anchor Tag">
<p> Test for WML img enclosed with anchor element, when the mouse move into the image, the tip "go to test.wml" will appear</p>
<p>
<anchor title="go to test.wml"><img src="../resources/smile.gif"/> <go href="../test.wml"/></anchor>
</p>
</card>
<card title="Anchor Tag">
<p>Test for WML img enclosed with anchor element, when the mouse move into the image, the tip "go to StartTests.wml" will appear</p>
<p>
<anchor title="go to StartTests.wml"><img src="resources/smiley.png"/> <go href="StartTests.wml"/></anchor>
</p>
</card>
</wml>
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="firstcard" title="One">
<p> Test for newcontext attribute of card element</p>
<p> This is the first card, Click "Go" to enter card two. <br/> Because newcontext of card two is true, the history state will be clean, and the variable "$var1" won't be replaced</p>
<do type="accept" label="Go">
<go href="#secondcard">
<setvar name="var1" value="two"/>
</go>
</do>
</card>
<card id="firstcard" title="One">
<p>Test for newcontext attribute of card element</p>
<p>This is the first card, Click "Go" to enter card two.<br/>Because newcontext of card two is true, the history state will be clean, and the variable "$var1" won't be replaced</p>
<do type="accept" label="Go">
<go href="#secondcard">
<setvar name="var1" value="two"/>
</go>
</do>
</card>
<card id="secondcard" title="$var1" newcontext="true">
<p> This is the card $var1 </p>
<p> Because newcontext of this card is true, the history state will be clean, and the variable "$var1" won't be replaced</p>
</card>
<card id="secondcard" title="$var1" newcontext="true">
<p>This is the card $var1</p>
<p>Because newcontext of this card is true, the history state will be clean, and the variable "$var1" won't be replaced</p>
</card>
</wml>
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
"http://www.wapforum.org/DTD/wml_1.1.xml">
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="card1" title="Card 1" onenterbackward="#card3">
<p>Test for card onenterbackward intrinsic event</p>
<p> Click "Go" to jump to the card2, if you go back from card2, it will jump to card3</p>
<anchor title="go to card2">
<go href="#card2">Go</go>
</anchor>
</card>
<card id="card2" title="Card 2">
<p>This is card2,click "Back" will back to the previous page</p>
<anchor>
Back
<prev />
</anchor>
</card>
<card id="card3" title="Card 3" >
<p>This is card3</p>
</card>
<card id="card1" title="Card 1" onenterbackward="#card3">
<p>Test for card onenterbackward intrinsic event</p>
<p>Click "Go" to jump to the card2, if you go back from card2, it will jump to card3</p>
<anchor title="go to card2">
<go href="#card2">Go</go>
</anchor>
</card>
<card id="card2" title="Card 2">
<p>This is card2,click "Back" will back to the previous page</p>
<anchor>
Back
<prev/>
</anchor>
</card>
<card id="card3" title="Card 3">
<p>This is card3</p>
</card>
</wml>
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
"http://www.wapforum.org/DTD/wml_1.1.xml">
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="card1" title="Card 1" onenterforward="#card2">
<p>Test for card onenterforward event</p>
<p>Card one will jump to card two when entered forward it</p>
</card>
<card id="card2" title="Card 2">
<p>Test for card onenterforward event</p>
<p>This is card2, I am entered by card one forwarding</p>
</card>
</wml>
<card id="card1" title="Card 1" onenterforward="#card2">
<p>Test for card onenterforward event</p>
<p>Card one will jump to card two when entered forward it</p>
</card>
<card id="card2" title="Card 2">
<p>Test for card onenterforward event</p>
<p>This is card2, I am entered by card one forwarding</p>
</card>
</wml>
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<head>
<meta http-equiv="Cache-Control" content="max-age=0"/>
</head>
<card id="card1" ontimer="#card2" title="Card one">
<p> Test for card ontimer intrinsic event in WML </p>
<timer name="time1" value="50"/>
<p>
This is card one<br/>The timer is triggered by the ontimer intrinsic event(ontimer as attribute of card element)<br/>When the timer is timeout(after 5s), will jump to card two.
</p>
</card>
<card id="card2">
This is Card two
</card>
</wml>
<head>
<meta http-equiv="Cache-Control" content="max-age=0"/>
</head>
<card id="card1" ontimer="#card2" title="Card one">
<p>Test for card ontimer intrinsic event in WML</p>
<timer name="time1" value="50"/>
<p>
This is card one<br/>
The timer is triggered by the ontimer intrinsic event(ontimer as attribute of card element)<br/>
When the timer is timeout(after 5s), will jump to card two.
</p>
</card>
<card id="card2">
This is Card two
</card>
</wml>
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="testcard" title="Sample Title">
<p> Test for title attribute of card element</p>
</card>
</wml>
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
"http://www.wapforum.org/DTD/wml_1.1.xml">
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card onenterforward="targetdeck.wml">
<p> Test for Deck Access control in WML. </p>
<p> This deck will try to jump to "targetdeck.wml" when it is loaded. But it will <strong>FAIL</strong> because "targetdeck.wml" just allows "access-target.wml" to access it.</p>
<p> You can click 'Go' to enter 'access-target.wml', and then enter 'targetdeck.wml' from there</p>
<anchor title="go to access-target.wml"><go href="./access-target.wml">Go</go></anchor>
</card>
<card onenterforward="targetdeck.wml">
<p>Test for Deck Access control in WML. </p>
<p>This deck will try to jump to "targetdeck.wml" when it is loaded. But it will <strong>FAIL</strong> because "targetdeck.wml" just allows "access-target.wml" to access it.</p>
<p>You can click 'Go' to enter 'access-target.wml', and then enter 'targetdeck.wml' from there</p>
<anchor title="go to access-target.wml"><go href="./access-target.wml">Go</go></anchor>
</card>
</wml>
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="card1" title="One">
<p> Test for go element in WML </p>
<br/>
Case 1: jump among one deck
<do name="go" type="accept" label="Go to card2">
<go href="#card2" sendreferer="true" />
</do>
<p/>
Case 2: jump from one deck to another one
<do name="go2" type="accept" label="Go to test.wml">
<go href="../test.wml"/>
</do>
<p/>
Case 3: jump to test.wml and post data with post method
<do name="go3" type="accept" label="Post to test.wml">
<go href="../test.wml" method="post" accept-charset="utf-8, latin1">
<postfield name="var1" value="hello"/>
<postfield name="var2" value=" world"/>
</go>
</do>
<p/>
Case 4: jump to test.wml and send request with get method
<do name="go4" type="accept" label="get from test.wml" sendreferer="true">
<go href="../test.wml" method="get" accept-charset="utf-8,latin1,iso-8859-1">
<postfield name="var1" value="hello"/>
<postfield name="var2" value="friend"/>
</go>
</do>
</card>
<card id="card2" title="Two">
<p align="center">
This is the second card
</p>
</card>
</wml>
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
"http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card>
<p> Test for input emptyok attribute in WML </p>
For the following input elements, input is required:
<br/>
format=N*M;emptyok=false<input name="x2" emptyok="false" format="N*M"/>
<br/>
format=*M;emptyok=false<input name="x3" emptyok="false" format="*M"/>
<br/>
For the following input elements, input is not required:
<br/>
default<input name="x4"/>
<br/>
format=*M<input name="x5" format="*M"/>
<br/>
emptyok=true<input name="x6" emptyok="true"/>
<br/>
format=n*M;emptyok=true<input name="x7" emptyok="true" format="n*M"/>
<br/>
format=*M;emptyok=true<input name="x8" emptyok="true" format="*M"/>
</card>
</wml>
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
"http://www.wapforum.org/DTD/wml_1.1.xml">
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN""http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card title="Input">
<p> Test for input format in WML</p>
<p>
Password(default:*M):<input name="default"/>
<br/>
Password(6M): <input name="Pwd" type="password" format="6M"/>
<br/>
Password(AAa): <input name="Pwd2" type="password" format="AAa"/>
<br/>
one-numeric+lowercase(N*a):<input name="upper" format="N*a"/>
<br/>
Uppercase+non-numeric(AAA;size=8):<input name="upper" size="8" format="AAA"/>
<br/>
Lowercase+non-numeric(aaa;size=8;width=2):<input name="lower" size="8" width="2" format="aaa"/>
<br/>
Numeric(5N;maxlen=3):<input name="numeric" maxlength="3" format="5N"/>
<br/>
Numeirc+symbols(nnn):<input name="numeric+" format="nnn"/>
<br/>
Uppercase+numeric+symbols(XXX):<input name="upper+" format="XXX"/>
<br/>
Lowercase+numeric+symbols(xxx):<input name="lower+" format="xxx"/>
<br/>
Uppercase+numeric+symbols(MMM):<input name="def_upper+" format="MMM"/>
<br/>
Lowercase+numeric+symbols(mmm):<input name="def_lower+" format="mmm"/>
<br/>
Mixed data(a\-NN*x)<input name="any" format="a\-NN*x"/>
<br/>
</p>
</card>
<card title="Input">
<p>Test for input format in WML</p>
<p>
Password(default:*M):<input name="default"/><br/>
Password(6M): <input name="Pwd" type="password" format="6M"/><br/>
Password(AAa): <input name="Pwd2" type="password" format="AAa"/><br/>
one-numeric+lowercase(N*a):<input name="upper" format="N*a"/><br/>
Uppercase+non-numeric(AAA;size=8):<input name="upper" size="8" format="AAA"/><br/>
Lowercase+non-numeric(aaa;size=8;width=2):<input name="lower" size="8" width="2" format="aaa"/><br/>
Numeric(5N;maxlen=3):<input name="numeric" maxlength="3" format="5N"/><br/>
Numeric+symbols(nnn):<input name="numeric+" format="nnn"/><br/>
Uppercase+numeric+symbols(XXX):<input name="upper+" format="XXX"/><br/>
Lowercase+numeric+symbols(xxx):<input name="lower+" format="xxx"/><br/>
Uppercase+numeric+symbols(MMM):<input name="def_upper+" format="MMM"/><br/>
Lowercase+numeric+symbols(mmm):<input name="def_lower+" format="mmm"/><br/>
Mixed data(a\-NN*x)<input name="any" format="a\-NN*x"/><br/>
</p>
</card>
</wml>
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
"http://www.wapforum.org/DTD/wml_1.1.xml">
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="card1" title="Card 1">
<onevent type="onenterforward">
<go href="#card2"/>
</onevent>
<p>Test for onevent element which binds go task with onenterforward event</p>
<p>when enter forward to this card, it will jump to card 2</p>
</card>
<card id="card1" title="Card 1">
<onevent type="onenterforward">
<go href="#card2"/>
</onevent>
<p>Test for onevent element which binds go task with onenterforward event</p>
<p>when enter forward to this card, it will jump to card 2</p>
</card>
<card id="card2" title="Card 2">
<p>Test for onevent element which binds go task with onenterforward event</p>
<p>while card 1 is loaded, it will trigger the onenterforward event and jump to card2 immediately</p>
<p>This is card2</p>
</card>
<card id="card2" title="Card 2">
<p>Test for onevent element which binds go task with onenterforward event</p>
<p>while card 1 is loaded, it will trigger the onenterforward event and jump to card2 immediately</p>
<p>This is card2</p>
</card>
</wml>
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
"http://www.wapforum.org/DTD/wml_1.1.xml">
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="card1" title="Card 1">
<onevent type="onenterforward">
<noop/>
</onevent>
<p>Test for onevent element which binds noop task with onenterforward event</p>
<p>when enter forward to this card, it won't do anything as if the onenterforward event wasn't triggered</p>
</card>
<card id="card1" title="Card 1">
<onevent type="onenterforward">
<noop/>
</onevent>