--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/WebCore/manual-tests/wml/card-newcontext-attr.wml Fri Sep 17 09:02:29 2010 +0300
@@ -0,0 +1,18 @@
+<?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="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>